diff options
author | Ilion Beyst <ilion.beyst@gmail.com> | 2022-04-16 10:30:11 +0200 |
---|---|---|
committer | Ilion Beyst <ilion.beyst@gmail.com> | 2022-04-16 10:30:11 +0200 |
commit | 39cec55bbe738a4c5f93913b9b016050a1953d10 (patch) | |
tree | efebfc255ba0d865db41d4272facf12574d8bd07 /web/pw-server/src/lib/components | |
parent | a41b4c48cb3fe56037aef62c4289435ede7d3e98 (diff) | |
download | planetwars.dev-39cec55bbe738a4c5f93913b9b016050a1953d10.tar.xz planetwars.dev-39cec55bbe738a4c5f93913b9b016050a1953d10.zip |
format & cleanup
Diffstat (limited to 'web/pw-server/src/lib/components')
-rw-r--r-- | web/pw-server/src/lib/components/RulesView.svelte | 1 | ||||
-rw-r--r-- | web/pw-server/src/lib/components/navbar/UserControls.svelte | 3 |
2 files changed, 2 insertions, 2 deletions
diff --git a/web/pw-server/src/lib/components/RulesView.svelte b/web/pw-server/src/lib/components/RulesView.svelte index c3cf125..58e6bf2 100644 --- a/web/pw-server/src/lib/components/RulesView.svelte +++ b/web/pw-server/src/lib/components/RulesView.svelte @@ -64,7 +64,6 @@ padding: 15px; overflow-y: scroll; height: 100%; - margin-bottom: 200px; box-sizing: border-box; } </style> diff --git a/web/pw-server/src/lib/components/navbar/UserControls.svelte b/web/pw-server/src/lib/components/navbar/UserControls.svelte index 3c1d181..0b8413d 100644 --- a/web/pw-server/src/lib/components/navbar/UserControls.svelte +++ b/web/pw-server/src/lib/components/navbar/UserControls.svelte @@ -1,5 +1,5 @@ <script lang="ts"> - import { get_session_token } from "$lib/auth"; + import { get_session_token, clear_session_token } from "$lib/auth"; import { currentUser } from "$lib/stores/current_user"; import { onMount } from "svelte"; @@ -30,6 +30,7 @@ function signOut() { // TODO: destroy session on server currentUser.set(null); + clear_session_token(); } </script> |