diff --git a/layouts/default.vue b/layouts/default.vue index dbd3649..bd5e71e 100644 --- a/layouts/default.vue +++ b/layouts/default.vue @@ -302,6 +302,13 @@ export default { const { $config, $getFallbackProvider } = useNuxtApp() + watchAddressChanged(async wallet => { + setWallet(wallet.provider) + await fetchBalance() + + fetchUserDomain() + }) + watchWalletChanged(async wallet => { setWallet(wallet.provider) await fetchBalance()