diff --git a/apps/ui/src/views/Landing.vue b/apps/ui/src/views/Landing.vue index 27c72da5c..a90b46f38 100644 --- a/apps/ui/src/views/Landing.vue +++ b/apps/ui/src/views/Landing.vue @@ -20,10 +20,26 @@ const SOCIALS = [ icon: ICGithub } ]; + +const router = useRouter(); +const { web3, authInitiated } = useWeb3(); + +watch( + () => web3.value.account, + account => { + if (!account) return; + + router.push({ name: 'my-home' }); + }, + { immediate: true } +);