From 8a7a5ef90acab788cc91428c9871e4b0b5f3edc8 Mon Sep 17 00:00:00 2001 From: rasguy92 Date: Fri, 8 Dec 2023 18:31:27 +0700 Subject: [PATCH] fixup! feat: update according to latest feedback --- src/common/modals/ClaimModal.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/common/modals/ClaimModal.tsx b/src/common/modals/ClaimModal.tsx index 97b4e18..219c092 100644 --- a/src/common/modals/ClaimModal.tsx +++ b/src/common/modals/ClaimModal.tsx @@ -32,7 +32,7 @@ export const ClaimModal = ({ hide, game, wallet, tokenDecimals const calculateFeesQuery = useGetClaimAmountQuery({ escrowHash: game.wager.wagerHash as HexishString, - account: '0x812E758C83e4a197355A72e12065e6A24f0367E3' + account: wallet.address }); const handleClaimClick = async () => { try { @@ -46,7 +46,7 @@ export const ClaimModal = ({ hide, game, wallet, tokenDecimals } }; const wagerUSDValue = useTokenUSDValue(game.wager.wagerCurrency, Number(formatUnits(game.wager.wagerAmount, tokenDecimals))); - console.log(calculateFeesQuery.data) + return tokenDecimals && (