feat(frontend): working Discord login + signup
This commit is contained in:
parent
0e72097346
commit
c8b5b7e2c2
24 changed files with 287 additions and 119 deletions
|
@ -3,8 +3,8 @@ import { browser } from "$app/environment";
|
|||
|
||||
import type { MeUser } from "./api/entities";
|
||||
|
||||
export const userStore = writable<MeUser | null>(null);
|
||||
export const tokenStore = writable<string | null>(null);
|
||||
const initialUserValue = null;
|
||||
export const userStore = writable<MeUser | null>(initialUserValue);
|
||||
|
||||
let defaultThemeValue = "dark";
|
||||
const initialThemeValue = browser
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue