Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

Small update to log out

Joshen Lim5d728385c9f9
diff --git a/studio/components/layouts/AccountLayout/AccountLayout.tsx b/studio/components/layouts/AccountLayout/AccountLayout.tsx
index fb2b08c1e5b..841e5794c5c 100644
--- a/studio/components/layouts/AccountLayout/AccountLayout.tsx
+++ b/studio/components/layouts/AccountLayout/AccountLayout.tsx
@@ -28,8 +28,7 @@ const AccountLayout: FC<Props> = ({ children, title, breadcrumbs }) => {
const onClickLogout = async () => {
await auth.signOut()
localStorage.removeItem(STORAGE_KEY)
- await router.push('/sign-in')
- router.reload()
+ window.location.href = '/sign-in'
}
const organizationsLinks = app.organizations