Skip to content

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

only check for overdue invoices on platform

Alaister Youngde02bbcbc435
diff --git a/studio/components/interfaces/Home/ProjectList/ProjectList.tsx b/studio/components/interfaces/Home/ProjectList/ProjectList.tsx
index 5a15174d37f..c973699deeb 100644
--- a/studio/components/interfaces/Home/ProjectList/ProjectList.tsx
+++ b/studio/components/interfaces/Home/ProjectList/ProjectList.tsx
@@ -21,7 +21,7 @@ const ProjectList: FC<Props> = ({ rewriteHref }) => {
const { organizations, projects } = app
const { isLoading: isLoadingProjects } = projects
- const { data: allOverdueInvoices } = useOverdueInvoicesQuery()
+ const { data: allOverdueInvoices } = useOverdueInvoicesQuery({ enabled: IS_PLATFORM })
const isLoadingPermissions = IS_PLATFORM ? (ui?.permissions ?? []).length === 0 : false