Skip to content

Commit 32831b8

Browse files
committed
Remove goto loop
1 parent 0d78dd7 commit 32831b8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/routes/(anonymous)/+layout.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
99
$effect(() => {
1010
if (!$UserStore.loading && $UserStore.self) {
11-
goto(page.url.searchParams.get('redirect') ?? '/login');
11+
goto(page.url.searchParams.get('redirect') ?? '/home');
1212
}
1313
});
1414
</script>

0 commit comments

Comments
 (0)