From cd58a20bc2d9d40cca84ecc5c7587cffb830c935 Mon Sep 17 00:00:00 2001 From: Alaister Young Date: Fri, 21 Oct 2022 20:26:31 +1100 Subject: [PATCH] return ui.setNotification --- studio/pages/org/[slug]/settings.tsx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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)