Skip to content

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

return ui.setNotification

Alaister Youngcd58a20bc2d9
diff --git a/studio/pages/org/[slug]/settings.tsx b/studio/pages/org/[slug]/settings.tsx
index 7469ff265a9..ed262d5e605 100644
--- a/studio/pages/org/[slug]/settings.tsx
+++ b/studio/pages/org/[slug]/settings.tsx
@@ -128,12 +128,10 @@ const OrganizationSettings: NextPageWithLayout = () => {
// The user should not see this error as the page should
// be rerendered with the value of slug before they can click.
// It is just here in case they are the flash.
- ui.setNotification({
+ return ui.setNotification({
category: 'error',
message: 'Please try again',
})
-
- return
}
setSelectedTab(id)