diff --git a/src/common/modals/ClaimModal.tsx b/src/common/modals/ClaimModal.tsx index 0b7c2d4..e031853 100644 --- a/src/common/modals/ClaimModal.tsx +++ b/src/common/modals/ClaimModal.tsx @@ -47,7 +47,7 @@ export const ClaimModal = ({ hide, game, wallet, tokenDecimals } }; const wagerUSDValue = useTokenUSDValue(game.wager.wagerCurrency, Number(formatUnits(game.wager.wagerAmount, tokenDecimals))); - console.log(Number(formatUnits(game.wager.wagerAmount, tokenDecimals))) + return tokenDecimals && (
@@ -89,9 +89,8 @@ export const ClaimModal = ({ hide, game, wallet, tokenDecimals size={11} /> -
+
{miniWalletAddress(wallet.address)} - {"Change wallet"}
@@ -138,7 +137,7 @@ export const ClaimModal = ({ hide, game, wallet, tokenDecimals - Net winnings + Net winnings { !calculateFeesQuery.data ? 'calculating...' : { parseFloat(String(Number(formatUnits(calculateFeesQuery.data[sendAmountIndex], tokenDecimals)) - Number(formatUnits(game.wager.wagerAmount, tokenDecimals)))).toFixed(2) diff --git a/src/common/modals/DiceWinnerModal.tsx b/src/common/modals/DiceWinnerModal.tsx index cad6018..5dfb0a1 100644 --- a/src/common/modals/DiceWinnerModal.tsx +++ b/src/common/modals/DiceWinnerModal.tsx @@ -59,6 +59,7 @@ const DiceWinnerModal = ({ {wagerCurrency} +
- +