This commit is contained in:
Timothy Jaeryang Baek
2026-07-15 16:26:31 -04:00
parent 86f55d04ec
commit 609cc6ad9b
+1 -1
View File
@@ -167,7 +167,7 @@
onMount(async () => {
const redirectPath = $page.url.searchParams.get('redirect');
if ($user !== undefined) {
if ($user) {
goto(redirectPath || '/');
} else {
if (redirectPath) {