Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

Fix: missing languages

Copple6df1fa33f2c1
diff --git a/apps/www/components/CodeBlock/CodeBlock.tsx b/apps/www/components/CodeBlock/CodeBlock.tsx
index 39229d48675..e90bfa7594d 100644
--- a/apps/www/components/CodeBlock/CodeBlock.tsx
+++ b/apps/www/components/CodeBlock/CodeBlock.tsx
@@ -9,7 +9,7 @@ import sql from 'react-syntax-highlighter/dist/cjs/languages/hljs/sql'
import monokaiCustomTheme from './CodeBlock.utils'
export interface CodeBlockProps {
- lang: 'js' | 'sql' | 'py' | 'bash'
+ lang: 'js' | 'sql' | 'py' | 'bash' | 'ts' | 'tsx'
startingLineNumber?: number
hideCopy?: boolean
showLineNumbers?: boolean