refac
This commit is contained in:
1 parent
86f55d04ec
commit
609cc6ad9b
1 file changed
+1
-1
@@ -167,7 +167,7 @@
|
||||
|
||||
onMount(async () => {
|
||||
const redirectPath = $page.url.searchParams.get('redirect');
|
||||
if ($user !== undefined) {
|
||||
if ($user) {
|
||||
goto(redirectPath || '/');
|
||||
} else {
|
||||
if (redirectPath) {
|
||||
|
||||
Reference in new issue
Block a user