Fix missing return state in StorageExplorerStore to resolve https://sentry.io/organizations/supabase/issues/3444978894

This commit is contained in:
Joshen Lim committed 2022-07-26 21:48:32 +08:00
1 parent 27ffd07fd0
commit 875de71c37
1 file changed
+1 -1
@@ -436,7 +436,7 @@ class StorageExplorerStore {
createBucket = async (bucketName, isPublic = false) => {
if (isNil(this.supabaseClient)) {
this.ui.setNotification({
return this.ui.setNotification({
message: 'Failed to initialize supabase client, try refreshing your browser.',
category: 'error',
})