The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
Add guard in ChartHanlder
Joshen Limcc1852597d79
diff --git a/studio/components/to-be-cleaned/Charts/ChartHandler.tsx b/studio/components/to-be-cleaned/Charts/ChartHandler.tsxindex 16ecb7e62c5..2588c11ad6b 100644--- a/studio/components/to-be-cleaned/Charts/ChartHandler.tsx+++ b/studio/components/to-be-cleaned/Charts/ChartHandler.tsx@@ -78,7 +78,7 @@ const ChartHandler: FC<Props> = ({const { error, ...res } = await get(url)- if (error && !cancel) {+ if ((error || isUndefined(res)) && !cancel) {setFetching(false)setFetchedData(undefined)return console.error('Chart error:', error)