We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 69c33fc commit 5bbd91bCopy full SHA for 5bbd91b
src/components/CodePreview.tsx
@@ -1,4 +1,4 @@
1
-import { PrismLight as SyntaxHighlighter } from "react-syntax-highlighter";
+import { Prism as SyntaxHighlighter } from "react-syntax-highlighter";
2
3
import { useAppContext } from "@contexts/AppContext";
4
src/contexts/AppContext.tsx
@@ -19,7 +19,7 @@ import {
19
20
// tokens
21
const defaultLanguage: LanguageType = {
22
- lang: "JavaScript",
+ lang: "JAVASCRIPT",
23
icon: "/icons/javascript.svg",
24
};
25
0 commit comments