summaryrefslogtreecommitdiff
path: root/ui/lib/components/LogOut.svelte
diff options
context:
space:
mode:
authorOwen Jacobson <owen@grimoire.ca>2025-02-21 16:35:56 -0500
committerOwen Jacobson <owen@grimoire.ca>2025-02-21 16:35:56 -0500
commitb9bc643af0d0523a70d76236d9277539da083b36 (patch)
tree4ba1d4796af642f2fb2f12642eb387503ff5b8c5 /ui/lib/components/LogOut.svelte
parenteba98f5a5ccfb81969be9f4fabcb82891bbc1c9e (diff)
Add missing awaits on goto() calls
Diffstat (limited to 'ui/lib/components/LogOut.svelte')
-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>