Skip to content

Commit c64fed2

Browse files
committed
using PrismLight instead of Prism for syntax highlighting
1 parent 1a7106f commit c64fed2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/CodePreview.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { useEffect, useState } from "react";
2-
import { Prism as SyntaxHighlighter } from "react-syntax-highlighter";
2+
import { PrismLight as SyntaxHighlighter } from "react-syntax-highlighter";
33
import {
44
oneDark,
55
oneLight,

0 commit comments

Comments
 (0)