Skip to content

Commit

Permalink
Merge pull request #22 from 0xBcamp/foundry
Browse files Browse the repository at this point in the history
Withdraw component updated
  • Loading branch information
0xwetzo authored Feb 6, 2024
2 parents 05fea5f + f4f4fed commit 7296323
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions packages/nextjs/components/tournament/withdraw.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -102,10 +102,10 @@ export const Withdraw = () => {
<span className="block text-4xl font-bold">and get your rewards</span>
</h1>
<p className="text-center text-lg">
{formatUnits(LPTokenAmountOfPlayer || 0n, Number(LPTokenDecimals.data) || 18)}{" "}
{Number(formatUnits(LPTokenAmountOfPlayer || 0n, Number(LPTokenDecimals.data) || 18)).toFixed(2)}{" "}
{LPTokenSymbol.isLoading ? "..." : LPTokenSymbol.data}
can be withdrawn from your deposit and you earned{" "}
{formatUnits(prizeAmount || 0n, Number(LPTokenDecimals.data) || 18)}{" "}
{Number(formatUnits(prizeAmount || 0n, Number(LPTokenDecimals.data) || 18)).toFixed(2)}{" "}
{LPTokenSymbol.isLoading ? "..." : LPTokenSymbol.data}.
<button
className="btn btn-secondary"
Expand Down
6 changes: 3 additions & 3 deletions packages/nextjs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@
"@moonup/moon-rainbowkit": "^0.0.26",
"@moonup/moon-sdk": "^0.0.43",
"@moonup/wagmi-connector": "^0.0.21",
"@rainbow-me/rainbowkit": "1.3.0",
"@rainbow-me/rainbowkit": "^1.3.4",
"@uniswap/sdk-core": "^4.0.1",
"@uniswap/v2-sdk": "^3.0.1",
"blo": "^1.0.1",
"daisyui": "^4.4.19",
"blo": "^1.1.1",
"daisyui": "^4.6.1",
"next": "^14.0.4",
"nprogress": "^0.2.0",
"qrcode.react": "^3.1.0",
Expand Down

0 comments on commit 7296323

Please sign in to comment.