From 16282018484b97174695be07cc66ae26e372970b Mon Sep 17 00:00:00 2001 From: David Colon <38386583+Da-Colon@users.noreply.github.com> Date: Wed, 13 Mar 2024 12:16:42 -0400 Subject: [PATCH] format total on treasury info --- src/components/pages/DaoDashboard/Info/InfoTreasury.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/pages/DaoDashboard/Info/InfoTreasury.tsx b/src/components/pages/DaoDashboard/Info/InfoTreasury.tsx index 9ff2cebb6b..7646513173 100644 --- a/src/components/pages/DaoDashboard/Info/InfoTreasury.tsx +++ b/src/components/pages/DaoDashboard/Info/InfoTreasury.tsx @@ -2,6 +2,7 @@ import { Box, Flex, Text } from '@chakra-ui/react'; import { Treasury } from '@decent-org/fractal-ui'; import { useTranslation } from 'react-i18next'; import { useFractal } from '../../../../providers/App/AppProvider'; +import { formatUSD } from '../../../../utils'; import { BarLoader } from '../../../ui/loaders/BarLoader'; import { useFormatCoins } from '../../DAOTreasury/hooks/useFormatCoins'; @@ -49,7 +50,7 @@ export function InfoTreasury({}: IDAOGovernance) { textStyle="text-lg-mono-semibold" color="grayscale.100" > - {totalFiatValue} + {formatUSD(totalFiatValue)} );