The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
fix: paygStats data undefined
phamhieuea58509ee605
diff --git a/studio/hooks/queries/useProjectPaygStatistics.ts b/studio/hooks/queries/useProjectPaygStatistics.tsindex cd56e79befd..bc4451fbe25 100644--- a/studio/hooks/queries/useProjectPaygStatistics.ts+++ b/studio/hooks/queries/useProjectPaygStatistics.ts@@ -37,7 +37,7 @@ export function useProjectPaygStatistics(ref?: string, tierProdId?: string) {const anyError = data?.error || errorreturn {- paygStats: anyError ? undefined : getPaygStats(data.data),+ paygStats: anyError ? undefined : getPaygStats(data?.data),error: anyError,isLoading: !anyError && !data,isError: !!anyError,