Skip to content

Commit

Permalink
fixup! feat: update according to latest feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
RasenGUY committed Dec 8, 2023
1 parent 33238d0 commit 8a7a5ef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/common/modals/ClaimModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand All @@ -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 && (
<WinnerDeclarationContainer tw="items-start p-[24px] gap-y-[16px] min-w-[340px]">
<div tw="flex justify-end w-full">
Expand Down

0 comments on commit 8a7a5ef

Please sign in to comment.