diff options
| author | Owen Jacobson <owen@grimoire.ca> | 2025-02-21 16:35:56 -0500 |
|---|---|---|
| committer | Owen Jacobson <owen@grimoire.ca> | 2025-02-21 16:35:56 -0500 |
| commit | b9bc643af0d0523a70d76236d9277539da083b36 (patch) | |
| tree | 4ba1d4796af642f2fb2f12642eb387503ff5b8c5 /ui/lib/components | |
| parent | eba98f5a5ccfb81969be9f4fabcb82891bbc1c9e (diff) | |
Add missing awaits on goto() calls
Diffstat (limited to 'ui/lib/components')
| -rw-r--r-- | ui/lib/components/LogOut.svelte | 2 |
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> |
