Skip to content

Commit

Permalink
fix error2
Browse files Browse the repository at this point in the history
  • Loading branch information
ttwishing committed Oct 2, 2024
1 parent 26fdec9 commit f7943c9
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/pages/resources/resources.ts
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
import { derived, Readable } from 'svelte/store'
import { Int64, API, Asset } from '@greymass/eosio'
import { Resources, SampleUsage, PowerUpState, RAMState, REXState } from '@greymass/eosio-resources'
import { activeBlockchain } from '~/store'
import { BNPrecision } from '@greymass/eosio-resources'
import {derived, Readable} from 'svelte/store'
import {Int64, API, Asset } from '@greymass/eosio'
import {Resources, SampleUsage, PowerUpState, RAMState, REXState} from '@greymass/eosio-resources'
import {activeBlockchain} from '~/store'
import {BNPrecision} from '@greymass/eosio-resources'

import { getClient } from '../../api-client'
import { ChainConfig, ChainFeatures, resourceFeatures } from '~/config'
import {getClient} from '../../api-client'
import {ChainConfig, ChainFeatures, resourceFeatures} from '~/config'

const getResourceClient = (chain: ChainConfig) => {
const api = getClient(chain)
const options: any = { api }
const options: any = {api}
if (chain.resourceSampleAccount) {
options.sampleAccount = chain.resourceSampleAccount
}
Expand Down

0 comments on commit f7943c9

Please sign in to comment.