Skip to content

Commit

Permalink
fix accounts view page (#43)
Browse files Browse the repository at this point in the history
  • Loading branch information
0xShuk authored Nov 27, 2024
1 parent e655a76 commit 36897e0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pages/dao/[symbol]/params/components/AccountsView.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { getTreasuryAccountItemInfoV2Async } from '@utils/treasuryTools'
import { getTreasuryAccountItemInfoV2 } from '@utils/treasuryTools'
import { AccountType } from '@utils/uiTypes/assets'
import { AddressField } from '../index'
import useGovernanceAssets from '@hooks/useGovernanceAssets'
Expand All @@ -20,8 +20,8 @@ const AccountsView = ({
activeGovernance.pubkey.toBase58()
: auxiliaryMode
)
.map(async (x) => {
const info = await getTreasuryAccountItemInfoV2Async(x)
.map((x) => {
const info = getTreasuryAccountItemInfoV2(x)
if (x.isToken || x.isSol || x.type === AccountType.AUXILIARY_TOKEN) {
return (
<div
Expand Down

0 comments on commit 36897e0

Please sign in to comment.