state fix
This commit is contained in:
parent
8aeef4ad60
commit
8135e3938f
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@
|
||||||
import LoginForm from '$lib/components/LoginForm.svelte';
|
import LoginForm from '$lib/components/LoginForm.svelte';
|
||||||
import RegisterForm from '$lib/components/RegisterForm.svelte';
|
import RegisterForm from '$lib/components/RegisterForm.svelte';
|
||||||
|
|
||||||
let state = writable('landing');
|
let state = writable('/landing');
|
||||||
|
|
||||||
if ($page.url.hash.replace('#', '') !== '') {
|
if ($page.url.hash.replace('#', '') !== '') {
|
||||||
state.set($page.url.hash.replace('#', ''));
|
state.set($page.url.hash.replace('#', ''));
|
||||||
|
|
Loading…
Reference in a new issue