From 168757514081f3992dc973336b347fea974e05b2 Mon Sep 17 00:00:00 2001 From: Frank Noirot Date: Fri, 11 Oct 2024 11:38:11 -0400 Subject: [PATCH] Clear localStorage when user signs out (#150) * Clear localStorage when user signs out * `localStorage` is not available in node of course --- src/components/AccountMenu.svelte | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/components/AccountMenu.svelte b/src/components/AccountMenu.svelte index dd34dc6..972a2be 100644 --- a/src/components/AccountMenu.svelte +++ b/src/components/AccountMenu.svelte @@ -96,7 +96,13 @@ Report UI Issue - + localStorage.clear()} + > Sign Out