Skip to content

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

Fix wrong logic in ProjectUsageSection

Joshen Lim0ea8b1dcf9b9
diff --git a/studio/components/interfaces/Home/ProjectUsageSection.tsx b/studio/components/interfaces/Home/ProjectUsageSection.tsx
index 8fc59369cf7..ee89b6c0a30 100644
--- a/studio/components/interfaces/Home/ProjectUsageSection.tsx
+++ b/studio/components/interfaces/Home/ProjectUsageSection.tsx
@@ -42,7 +42,7 @@ const ProjectUsageSection = observer(() => {
<IconLoader className="animate-spin" size={14} />
<p className="text-sm">Retrieving project usage statistics</p>
</div>
- ) : true ? (
+ ) : hasProjectData ? (
<ProjectUsage />
) : (
<NewProjectPanel />