Skip to content

Commit

Permalink
Use async highlighter to fix code rendering
Browse files Browse the repository at this point in the history
  • Loading branch information
akamya997 committed Mar 7, 2024
1 parent 50a37ef commit 2809199
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/SubmissionDetail.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from "react";
import { PrismLight as SyntaxHighlighter } from "react-syntax-highlighter";
import { PrismAsyncLight as SyntaxHighlighter } from "react-syntax-highlighter";
import { oneDark } from "react-syntax-highlighter/dist/cjs/styles/prism";
import { SubmissionServiceModel } from "../typings/submission";
import { CopyToClipboard } from "react-copy-to-clipboard";
Expand Down

0 comments on commit 2809199

Please sign in to comment.