Skip to content

Commit

Permalink
fix: import valtio from vanilla path (#2810)
Browse files Browse the repository at this point in the history
Co-authored-by: tomiir <rocchitomas@gmail.com>
  • Loading branch information
jd1378 and tomiir authored Sep 6, 2024
1 parent 5487a33 commit 83b4a8d
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion packages/core/src/controllers/AccountController.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import type { W3mFrameTypes } from '@web3modal/wallet'
import { ChainController } from './ChainController.js'
import type { Chain } from '@web3modal/common'
import { NetworkController } from './NetworkController.js'
import { proxy, ref } from 'valtio'
import { proxy, ref } from 'valtio/vanilla'

// -- Types --------------------------------------------- //
export interface AccountControllerState {
Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/controllers/ChainController.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { proxyMap, subscribeKey as subKey } from 'valtio/utils'
import { proxyMap, subscribeKey as subKey } from 'valtio/vanilla/utils'
import { proxy, ref, subscribe as sub } from 'valtio/vanilla'
import type { CaipNetwork, ChainAdapter, Connector } from '../utils/TypeUtil.js'

Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/controllers/EnsController.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { subscribeKey as subKey } from 'valtio/utils'
import { subscribeKey as subKey } from 'valtio/vanilla/utils'
import { proxy, subscribe as sub } from 'valtio/vanilla'
import { BlockchainApiController } from './BlockchainApiController.js'
import type { BlockchainApiEnsError } from '../utils/TypeUtil.js'
Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/controllers/SwapController.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { subscribeKey as subKey } from 'valtio/utils'
import { subscribeKey as subKey } from 'valtio/vanilla/utils'
import { proxy, subscribe as sub } from 'valtio/vanilla'
import { AccountController } from './AccountController.js'
import { ConstantsUtil } from '../utils/ConstantsUtil.js'
Expand Down

0 comments on commit 83b4a8d

Please sign in to comment.