diff --git a/infra/rooch-portal/src/pages/assets/assets-details/tabs/coin/assets-coin.tsx b/infra/rooch-portal/src/pages/assets/assets-details/tabs/coin/assets-coin.tsx index 36162fecea..3945b02c35 100644 --- a/infra/rooch-portal/src/pages/assets/assets-details/tabs/coin/assets-coin.tsx +++ b/infra/rooch-portal/src/pages/assets/assets-details/tabs/coin/assets-coin.tsx @@ -25,6 +25,7 @@ import { Button } from '@/components/ui/button' import { Textarea } from '@/components/ui/textarea' import CustomPagination from '@/components/custom-pagination.tsx' +import {formatCoin} from '@/utils/format.ts'; export const AssetsCoin = () => { const account = useCurrentAccount() @@ -186,7 +187,7 @@ export const AssetsCoin = () => { {data?.data.map((coin) => ( {coin.name} - {coin.balance} + {formatCoin(Number(coin.balance), coin.decimals)}