+2
-2
@@ -13,8 +13,8 @@ const { isOnline } = storeToRefs(userStore);
|
||||
|
||||
const isSignUp = computed(() => route.query._loginAction === "signUp");
|
||||
|
||||
onMounted(() => {
|
||||
if (isOnline.value) {
|
||||
watch(isOnline, (online) => {
|
||||
if (online) {
|
||||
navigateTo("/");
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user