From b9bc643af0d0523a70d76236d9277539da083b36 Mon Sep 17 00:00:00 2001
From: Owen Jacobson <owen@grimoire.ca>
Date: Fri, 21 Feb 2025 16:35:56 -0500
Subject: Add missing awaits on goto() calls

---
 ui/lib/components/LogOut.svelte | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'ui/lib/components/LogOut.svelte')

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>
-- 
cgit v1.2.3

