From 38fde1ca16a59984e44ddb67fd81fbd6c06a5c43 Mon Sep 17 00:00:00 2001 From: Jacob Homanics Date: Fri, 5 Apr 2024 23:40:37 -0500 Subject: [PATCH] Update StylizedBalanceCard.tsx --- .../rep-tokens/cards/stylized-cards/StylizedBalanceCard.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/nextjs/components/rep-tokens/cards/stylized-cards/StylizedBalanceCard.tsx b/packages/nextjs/components/rep-tokens/cards/stylized-cards/StylizedBalanceCard.tsx index 026eeaf..955d0f7 100644 --- a/packages/nextjs/components/rep-tokens/cards/stylized-cards/StylizedBalanceCard.tsx +++ b/packages/nextjs/components/rep-tokens/cards/stylized-cards/StylizedBalanceCard.tsx @@ -42,7 +42,7 @@ export const StylizedBalanceCard = ({ value, isOverlay, size = "base" }: Balance if (isOverlay) { cardClasses = `absolute ${overlaidCardSizeMap[size]} flex items-center justify-center bg-base-300 bg-opacity-60`; - output = formatNumber(123411).toString(); + output = formatNumber(value).toString(); let result = ""; if (size === "xs") { @@ -51,7 +51,7 @@ export const StylizedBalanceCard = ({ value, isOverlay, size = "base" }: Balance } else if (output.length === 1) { result = "text-4xl"; } else if (output.length === 2) { - result = "text-4xl"; + result = "text-3xl"; } else if (output.length === 3) { result = "text-2xl"; } else if (output.length === 4) {