You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have MasterLayout that is for logged in users. Then there is GuestLayout for guests. When user logs out and is redirected to Login page, GuestLayout loads, but the Login page doesn't. I then manually refresh the browser window, everything loads normally on the Login page. After submitting login form with useForm helper, user is redirected to Home page, but again - MasterLayout is loaded and works properly, while Page itself is not present at all. Video
Version:
Describe the problem:
I have MasterLayout that is for logged in users. Then there is GuestLayout for guests. When user logs out and is redirected to Login page, GuestLayout loads, but the Login page doesn't. I then manually refresh the browser window, everything loads normally on the Login page. After submitting login form with useForm helper, user is redirected to Home page, but again - MasterLayout is loaded and works properly, while Page itself is not present at all.
Video
Steps to reproduce:
app.js
GuestLayout.svelte
Login.svelte
MasterLayout.svelte
Home.svelte
The text was updated successfully, but these errors were encountered: