diff --git a/layer/store/wallet.ts b/layer/store/wallet.ts index 27341b77..2b61c4b9 100644 --- a/layer/store/wallet.ts +++ b/layer/store/wallet.ts @@ -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() {