Skip to content

Commit

Permalink
fix: coin type
Browse files Browse the repository at this point in the history
  • Loading branch information
begonaalvarezd committed Feb 4, 2025
1 parent 07e2a40 commit 2971173
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import {
import { TriangleDown } from '@iota/apps-ui-icons';
import clsx from 'clsx';
import { Badge, BadgeType } from '@iota/apps-ui-kit';
import { formatAddress } from '@iota/iota-sdk/utils';
import { formatAddress, IOTA_TYPE_ARG } from '@iota/iota-sdk/utils';
import {
useGetOwnedObjectsMultipleAddresses,
useGetSharedObjectsMultipleAddresses,
Expand All @@ -42,7 +42,7 @@ export function AccountBalanceItem({
return (BigInt(acc || '0') + BigInt(balance || '0')).toString();
}, '0') ?? '0';

const [formatted, symbol] = useFormatCoin(BigInt(totalBalance), COIN_TYPE);
const [formatted, symbol] = useFormatCoin(BigInt(totalBalance), IOTA_TYPE_ARG);

const { data: ownedObjects } = useGetOwnedObjectsMultipleAddresses(
addresses,
Expand Down

0 comments on commit 2971173

Please sign in to comment.