Skip to content

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

Show project stats only if theres usage on proj home page

Joshen Lim637f2c7e2563
diff --git a/studio/pages/project/[ref]/index.tsx b/studio/pages/project/[ref]/index.tsx
index 8f9b16054a7..cf6e38cecc5 100644
--- a/studio/pages/project/[ref]/index.tsx
+++ b/studio/pages/project/[ref]/index.tsx
@@ -54,7 +54,7 @@ const Home: NextPage = () => {
<IconLoader className="animate-spin" size={14} />
<Typography.Text>Retrieving project usage statistics</Typography.Text>
</div>
- ) : hasProjectData ? (
+ ) : !usage.error && hasProjectData ? (
<ProjectUsage project={project} />
) : (
<NewProjectPanel />