Skip to content

Commit

Permalink
watchAddressChanged added
Browse files Browse the repository at this point in the history
  • Loading branch information
tempe-techie committed Oct 4, 2024
1 parent 45a7d81 commit 730dd2c
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions layouts/default.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 730dd2c

Please sign in to comment.