Skip to content

Commit 0f5edbe

Browse files
authored
remove bnc init
1 parent a68fcf2 commit 0f5edbe

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

src/stores.ts

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { getBlocknative, initializeBlocknative } from './services'
1+
import { getBlocknative } from './services'
22
import { writable, derived, get } from 'svelte/store'
33
import { wait, makeCancelable, createInterval } from './utilities'
44
import { validateWalletInterface, validateType } from './validation'
@@ -309,14 +309,6 @@ function createBalanceStore(initialState: string | null): BalanceStore {
309309
currentBalance: get(balance)
310310
})
311311

312-
if (!getBlocknative()) {
313-
initializeBlocknative(
314-
get(app).dappId,
315-
get(app).networkId,
316-
get(app).apiUrl
317-
)
318-
}
319-
320312
if (emitterAddress !== $address) {
321313
const blocknative = getBlocknative()
322314

0 commit comments

Comments
 (0)