Skip to content

Commit

Permalink
fix: minor
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasRalee committed Jul 1, 2024
1 parent 62a47bf commit 4bd3113
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions layer/store/wallet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -284,8 +284,8 @@ export const useSharedWalletStore = defineStore('sharedWallet', {
) {
const walletStore = useSharedWalletStore()

walletStrategy.disconnect()
walletStrategy.setWallet(wallet)
await walletStrategy.disconnect()
await walletStrategy.setWallet(wallet)

if (options?.privateKey) {
walletStrategy.setOptions({ privateKey: options.privateKey })
Expand Down

0 comments on commit 4bd3113

Please sign in to comment.