fix(frontend): always render log out page client side
This commit is contained in:
parent
c8b5b7e2c2
commit
3d77e9823d
2 changed files with 1 additions and 2 deletions
|
@ -3,8 +3,6 @@
|
||||||
import { userStore } from "$lib/store";
|
import { userStore } from "$lib/store";
|
||||||
import { onMount } from "svelte";
|
import { onMount } from "svelte";
|
||||||
|
|
||||||
export const ssr = false;
|
|
||||||
|
|
||||||
onMount(() => {
|
onMount(() => {
|
||||||
userStore.set(null);
|
userStore.set(null);
|
||||||
localStorage.removeItem("pronouns-token");
|
localStorage.removeItem("pronouns-token");
|
||||||
|
|
1
frontend/src/routes/auth/logout/+page.ts
Normal file
1
frontend/src/routes/auth/logout/+page.ts
Normal file
|
@ -0,0 +1 @@
|
||||||
|
export const ssr = false;
|
Loading…
Reference in a new issue