summaryrefslogtreecommitdiff
path: root/ui/lib
diff options
context:
space:
mode:
Diffstat (limited to 'ui/lib')
-rw-r--r--ui/lib/components/LogOut.svelte2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/lib/components/LogOut.svelte b/ui/lib/components/LogOut.svelte
index b699cfd..1cb8fb5 100644
--- a/ui/lib/components/LogOut.svelte
+++ b/ui/lib/components/LogOut.svelte
@@ -8,7 +8,7 @@
const response = await logOut();
if (200 <= response.status && response.status < 300) {
currentUser.set(null);
- goto('/login');
+ await goto('/login');
}
}
</script>