Skip to content

Commit

Permalink
fix: loadProfiles is called multiple times (#4340)
Browse files Browse the repository at this point in the history
* fix: loadProfiles is called multiple times

* Fix format
  • Loading branch information
ChaituVR authored Nov 8, 2023
1 parent a81f14a commit e661209
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/NavbarAccount.vue
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ async function handleLogin(connector) {
const profile = computed(() => profiles.value[web3Account.value]);
watchEffect(() => {
watch(web3Account, () => {
loadProfiles([web3Account.value]);
});
</script>
Expand Down

1 comment on commit e661209

@vercel
Copy link

@vercel vercel bot commented on e661209 Nov 8, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.