Skip to content

Commit

Permalink
Merge pull request #1443 from decent-dao/bugfix/treasury-data-format
Browse files Browse the repository at this point in the history
Fix Treasury Total Format on Dashboard
  • Loading branch information
adamgall authored Mar 13, 2024
2 parents 4d00423 + 1628201 commit 25f7819
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/pages/DaoDashboard/Info/InfoTreasury.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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';

Expand Down Expand Up @@ -49,7 +50,7 @@ export function InfoTreasury({}: IDAOGovernance) {
textStyle="text-lg-mono-semibold"
color="grayscale.100"
>
{totalFiatValue}
{formatUSD(totalFiatValue)}
</Text>
</Box>
);
Expand Down

0 comments on commit 25f7819

Please sign in to comment.