From c39d2d00462a139819be6eef4311e62f625b120f Mon Sep 17 00:00:00 2001 From: LordCheta Date: Tue, 29 Oct 2024 16:26:17 +0100 Subject: [PATCH] fix: remove decimals in holders section on treasury page --- src/app/treasury/HoldersSection.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/treasury/HoldersSection.tsx b/src/app/treasury/HoldersSection.tsx index e917b127..375b448e 100644 --- a/src/app/treasury/HoldersSection.tsx +++ b/src/app/treasury/HoldersSection.tsx @@ -34,7 +34,7 @@ export const HoldersSection = () => { const holders = currentResults.map(({ address, value }) => ({ holder: , - quantity: `${formatBalanceToHuman(value)} stRIF`, + quantity: `${Math.ceil(Number(value))} stRIF`, })) return (