Skip to content

Commit

Permalink
chore: connect wallet before emit event
Browse files Browse the repository at this point in the history
  • Loading branch information
shane-moore committed Feb 9, 2024
1 parent 38a8875 commit bbd9b4d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions layer/store/wallet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -134,11 +134,11 @@ export const useSharedWalletStore = defineStore('sharedWallet', {

modalStore.closeAll()

useEventBus(EventBus.WalletConnected).emit()

walletStore.$patch({
walletStore.$patch({
walletConnectStatus: WalletConnectStatus.connected
})

useEventBus(EventBus.WalletConnected).emit()
},

async checkIsMetamaskInstalled() {
Expand Down

0 comments on commit bbd9b4d

Please sign in to comment.