Skip to content

Commit 3f687cd

Browse files
committed
Update +page.svelte
1 parent 94a2208 commit 3f687cd

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

apps/web/src/routes/(app)/profile/finalize/+page.svelte

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -64,13 +64,13 @@
6464
await userService.refreshUser();
6565
}
6666
67-
// $effect(() => {
68-
// if (!isLoggedIn) {
69-
// goto(routesService.loginPath());
70-
// } else if (isFinalized) {
71-
// goto(routesService.homePath());
72-
// }
73-
// });
67+
$effect(() => {
68+
if (!isLoggedIn) {
69+
goto(routesService.loginPath());
70+
} else if (isFinalized) {
71+
goto(routesService.homePath());
72+
}
73+
});
7474
</script>
7575

7676
<svelte:head>

0 commit comments

Comments
 (0)