state fix

This commit is contained in:
cirroskais 2024-03-25 14:33:03 -04:00
parent 8aeef4ad60
commit 8135e3938f
No known key found for this signature in database
GPG key ID: 5FC73EBF2678E33D

View file

@ -12,7 +12,7 @@
import LoginForm from '$lib/components/LoginForm.svelte';
import RegisterForm from '$lib/components/RegisterForm.svelte';
let state = writable('landing');
let state = writable('/landing');
if ($page.url.hash.replace('#', '') !== '') {
state.set($page.url.hash.replace('#', ''));