From 8a111f93b76dbb820eca4c2d984345897e3c1bb4 Mon Sep 17 00:00:00 2001
From: Mateo Daza
Date: Wed, 28 Sep 2022 19:13:34 -0500
Subject: [PATCH] Update GIVbacks.tsx
---
src/components/homeTabs/GIVbacks.tsx | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/src/components/homeTabs/GIVbacks.tsx b/src/components/homeTabs/GIVbacks.tsx
index c818eb96b3..3e0e962f6b 100644
--- a/src/components/homeTabs/GIVbacks.tsx
+++ b/src/components/homeTabs/GIVbacks.tsx
@@ -125,7 +125,13 @@ export const TabGIVbacksBottom = () => {
const [roundStarTime, setRoundStarTime] = useState(new Date());
const [roundEndTime, setRoundEndTime] = useState(new Date());
const { givTokenDistroHelper, isLoaded } = useGIVTokenDistroHelper();
-
+ const allocatedGIV =
+ round === 20
+ ? `${((1e6 / 14) * 18).toLocaleString(undefined, {
+ minimumFractionDigits: 0,
+ maximumFractionDigits: 0,
+ })} GIV`
+ : `1 Million GIV`;
useEffect(() => {
if (
givTokenDistroHelper &&
@@ -250,7 +256,7 @@ export const TabGIVbacksBottom = () => {
- 1 Million GIV
+ {allocatedGIV}