Skip to content

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

Prevent flashing of no perms UI on storage

Joshen Lim1e01675f050a
diff --git a/studio/components/layouts/StorageLayout/StorageLayout.tsx b/studio/components/layouts/StorageLayout/StorageLayout.tsx
index 1b384b51cdd..a04d241504d 100644
--- a/studio/components/layouts/StorageLayout/StorageLayout.tsx
+++ b/studio/components/layouts/StorageLayout/StorageLayout.tsx
@@ -85,7 +85,7 @@ const StorageLayout: FC<Props> = ({ title, children }) => {
}
}
- if (!canAccessStorage) {
+ if (!isLoading && !canAccessStorage) {
return (
<BaseLayout>
<main style={{ maxHeight: '100vh' }} className="flex-1 overflow-y-auto">