diff options
author | Ilion Beyst <ilion.beyst@gmail.com> | 2022-03-22 18:10:39 +0100 |
---|---|---|
committer | Ilion Beyst <ilion.beyst@gmail.com> | 2022-03-22 18:10:39 +0100 |
commit | 2b5a80a0324d153b20eac7e6949cc02aea9c1c07 (patch) | |
tree | 87be8ab0dda9a504eb9fe83c6c5c360178ab3f65 /web/pw-server/src/lib/stores/current_user.ts | |
parent | 6ab8db31c38eb9bf50485bea4cfc3b09add3daad (diff) | |
download | planetwars.dev-2b5a80a0324d153b20eac7e6949cc02aea9c1c07.tar.xz planetwars.dev-2b5a80a0324d153b20eac7e6949cc02aea9c1c07.zip |
implement currentUser store
Diffstat (limited to 'web/pw-server/src/lib/stores/current_user.ts')
-rw-r--r-- | web/pw-server/src/lib/stores/current_user.ts | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/web/pw-server/src/lib/stores/current_user.ts b/web/pw-server/src/lib/stores/current_user.ts new file mode 100644 index 0000000..ac53070 --- /dev/null +++ b/web/pw-server/src/lib/stores/current_user.ts @@ -0,0 +1,3 @@ +import { writable } from "svelte/store"; + +export const currentUser = writable(null); |