fix type errors

This commit is contained in:
tjs 2022-02-09 11:28:57 -05:00
parent afaf09085c
commit 366617dc5c
3 changed files with 3 additions and 3 deletions

View File

@ -1,7 +1,7 @@
import { AccountInfo, PublicKey, Transaction } from '@solana/web3.js'
import { Market, OpenOrders } from '@project-serum/serum'
import { Event } from '@project-serum/serum/lib/queue'
import { I80F48 } from '@blockworks-foundation/mango-client/lib/src/fixednum'
import { I80F48 } from '@blockworks-foundation/mango-client'
export interface Token {
chainId: number // 101,

View File

@ -8,7 +8,7 @@ import {
import useMangoStore from '../stores/useMangoStore'
import { i80f48ToPercent } from '../utils/index'
import { sumBy } from 'lodash'
import { I80F48 } from '@blockworks-foundation/mango-client/lib/src/fixednum'
import { I80F48 } from '@blockworks-foundation/mango-client'
import useMangoAccount from './useMangoAccount'
export function useBalances(): Balances[] {

View File

@ -1,4 +1,4 @@
import { I80F48 } from '@blockworks-foundation/mango-client/lib/src/fixednum'
import { I80F48 } from '@blockworks-foundation/mango-client'
import { TOKEN_MINTS } from '@project-serum/serum'
import { PublicKey } from '@solana/web3.js'
import BN from 'bn.js'