Skip to content

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

chore: remove unedded language support

Jonathan Summers-Muirc8e063986da8
diff --git a/www/components/CodeBlock/CodeBlock.tsx b/www/components/CodeBlock/CodeBlock.tsx
index c2364d7873a..7da07595f1e 100644
--- a/www/components/CodeBlock/CodeBlock.tsx
+++ b/www/components/CodeBlock/CodeBlock.tsx
@@ -5,7 +5,6 @@ import { Button, IconCopy } from '@supabase/ui'
import CopyToClipboard from 'react-copy-to-clipboard'
import js from 'react-syntax-highlighter/dist/cjs/languages/hljs/javascript'
-import jsx from 'react-syntax-highlighter/dist/cjs/languages/prism/jsx'
import py from 'react-syntax-highlighter/dist/cjs/languages/hljs/python'
import sql from 'react-syntax-highlighter/dist/cjs/languages/hljs/sql'
@@ -27,7 +26,6 @@ function CodeBlock(props: Props) {
if (lang === 'jsx') lang = 'js'
SyntaxHighlighter.registerLanguage('js', js)
- SyntaxHighlighter.registerLanguage('jsx', jsx)
SyntaxHighlighter.registerLanguage('py', py)
SyntaxHighlighter.registerLanguage('sql', sql)