fix type errors
This commit is contained in:
parent
afaf09085c
commit
366617dc5c
|
@ -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,
|
||||
|
|
|
@ -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[] {
|
||||
|
|
|
@ -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'
|
||||
|
|
Loading…
Reference in New Issue