return ui.setNotification

This commit is contained in:
Alaister Young committed 2022-10-21 20:26:31 +11:00
1 parent 772c9fb71b
commit cd58a20bc2
1 file changed
+1 -3
+1 -3
View File
@@ -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)