The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
fix: new id in content query (#28064)
Alaister Young9ea50f6ceee6
diff --git a/apps/studio/pages/project/[ref]/sql/[id].tsx b/apps/studio/pages/project/[ref]/sql/[id].tsxindex d14aca47e12..f18055ab12e 100644--- a/apps/studio/pages/project/[ref]/sql/[id].tsx+++ b/apps/studio/pages/project/[ref]/sql/[id].tsx@@ -47,7 +47,7 @@ const SqlEditor: NextPageWithLayout = () => {// [Joshen] May need to investigate separately, but occasionally addSnippet doesnt exist in// the snapV2 valtio store for some reason hence why the added typeof check hereretry: false,- enabled: enableFolders && id !== 'new' && typeof snapV2.addSnippet === 'function',+ enabled: Boolean(enableFolders && id !== 'new' && typeof snapV2.addSnippet === 'function'),onSuccess: (data) => {snapV2.addSnippet({ projectRef: ref as string, snippet: data })},