Skip to content

Commit cf8c95d

Browse files
committed
fix: import
1 parent 18be6bf commit cf8c95d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

frontend/src/commons/custom_fields/MarkdownField.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import Markdown from "markdown-to-jsx";
22
import { marked } from "marked";
3-
import { Fragment, React } from "react";
3+
import { Fragment, HTMLAttributes } from "react";
44
import { Prism as SyntaxHighlighter } from "react-syntax-highlighter";
55

66
import { useLinkStyles } from "../../commons/layout/themes";
@@ -56,7 +56,7 @@ function isMarkdownValue(value: string): boolean {
5656
return isMarkdown;
5757
}
5858

59-
type CodeProps = React.HTMLAttributes<HTMLElement>;
59+
type CodeProps = HTMLAttributes<HTMLElement>;
6060

6161
function SyntaxHighlightedCode({ className, children, ...rest }: CodeProps) {
6262
// markdown-to-jsx tags fenced blocks with `lang-<language>`.

0 commit comments

Comments
 (0)