From f4f4fed9dd6a1212f252c755ce3d19399aa3585f Mon Sep 17 00:00:00 2001 From: Nicolas Date: Tue, 6 Feb 2024 19:47:06 +0100 Subject: [PATCH] Withdraw component updated --- packages/nextjs/components/tournament/withdraw.tsx | 4 ++-- packages/nextjs/package.json | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/packages/nextjs/components/tournament/withdraw.tsx b/packages/nextjs/components/tournament/withdraw.tsx index 5e7b7ee..f6b8368 100644 --- a/packages/nextjs/components/tournament/withdraw.tsx +++ b/packages/nextjs/components/tournament/withdraw.tsx @@ -102,10 +102,10 @@ export const Withdraw = () => { and get your rewards

- {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}.