The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
Check value exists for isFreePlan var
Pamela Chia871fe4e1bc5b
diff --git a/studio/components/layouts/ProjectLayout/ProjectPausedState.tsx b/studio/components/layouts/ProjectLayout/ProjectPausedState.tsxindex 789358ffa73..2184fae4048 100644--- a/studio/components/layouts/ProjectLayout/ProjectPausedState.tsx+++ b/studio/components/layouts/ProjectLayout/ProjectPausedState.tsx@@ -27,7 +27,7 @@ const ProjectPausedState = ({ product }: ProjectPausedStateProps) => {const { project } = useProjectContext()const orgSlug = selectedOrganization?.slugconst { data: subscription } = useProjectSubscriptionV2Query({ projectRef: ref })- const isFreePlan = subscription?.plan.id === 'free'+ const isFreePlan = subscription?.plan?.id === 'free'const { data: membersExceededLimit } = useFreeProjectLimitCheckQuery({ slug: orgSlug })const hasMembersExceedingFreeTierLimit = (membersExceededLimit || []).length > 0