fix tokenaccount type

This commit is contained in:
tjs 2022-05-04 08:41:47 -04:00
parent c8898467db
commit 1bdf801273
1 changed files with 2 additions and 1 deletions

View File

@ -1,3 +1,4 @@
import { TokenAccount } from '@blockworks-foundation/mango-v4'
import mangoStore from '../store/state'
import ExplorerLink from './shared/ExplorerLink'
@ -8,7 +9,7 @@ const MangoAccount = () => {
if (!mangoAccount) return null
const activeTokens = mangoAccount
? mangoAccount.tokens.filter((ta) => ta.isActive())
? mangoAccount.tokens.filter((ta: TokenAccount) => ta.isActive())
: []
const banks = group?.banksMap