mirror of
https://github.com/supabase/supabase.git
synced 2026-10-06 01:45:10 +03:00
fix: add maniual localstorage clearing
This commit is contained in:
1 parent
92c1568c9c
commit
e2380b7d0d
1 file changed
+1
@@ -27,6 +27,7 @@ const AccountLayout: FC<Props> = ({ children, title, breadcrumbs }) => {
|
||||
|
||||
const onClickLogout = async () => {
|
||||
await auth.signOut()
|
||||
localStorage.clear();
|
||||
router.reload()
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user