The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
fix up code snippets
Jonathan Summers-Muir0fbea80675ba
diff --git a/apps/docs/components/reference/RefFunctionSection.tsx b/apps/docs/components/reference/RefFunctionSection.tsxindex e58ca3e907c..0d6a9b2e7c0 100644--- a/apps/docs/components/reference/RefFunctionSection.tsx+++ b/apps/docs/components/reference/RefFunctionSection.tsx@@ -132,12 +132,13 @@ const RefFunctionSection: React.FC<IRefFunctionSection> = (props) => {>{item.examples &&item.examples.map((example, exampleIndex) => {- const exampleString = `-import { createClient } from '@supabase/supabase-js'+ const exampleString = ''+ // `+ // import { createClient } from '@supabase/supabase-js'-// Create a single supabase client for interacting with your database-const supabase = createClient('https://xyzcompany.supabase.co', 'public-anon-key')-`+ // // Create a single supabase client for interacting with your database+ // const supabase = createClient('https://xyzcompany.supabase.co', 'public-anon-key')+ // `const currentExampleId = example.idconst staticExample = item.examples[exampleIndex]@@ -180,7 +181,7 @@ const supabase = createClient('https://xyzcompany.supabase.co', 'public-anon-keylanguage="sql"hideLineNumbers={true}>- {sql}+ {sql.replace(/sql/g, '').replace(/```/g, '')}</CodeBlock>)}</>