|
@@ -137,7 +137,7 @@ const WalletCard = (props: { userMoney: Wallet }) => {
|
|
|
const { getGameUrl } = useGame();
|
|
|
const goGame = () => {
|
|
|
const current = game.current;
|
|
|
- getGameUrl(current!, { id: current?.id + "", mode: game.current?.mode || 1 });
|
|
|
+ getGameUrl(current!, { id: current?.id + "", mode: game.current?.mode! });
|
|
|
tipsRef.current?.onClose();
|
|
|
gameModelRef.current?.onClose();
|
|
|
};
|