diff --git a/src/components/MermaidToExcalidraw.tsx b/src/components/MermaidToExcalidraw.tsx index 6c88ebebc..9f0fcb2ce 100644 --- a/src/components/MermaidToExcalidraw.tsx +++ b/src/components/MermaidToExcalidraw.tsx @@ -15,7 +15,7 @@ import Spinner from "./Spinner"; import "./MermaidToExcalidraw.scss"; import { MermaidToExcalidrawResult } from "@excalidraw/mermaid-to-excalidraw/dist/interfaces"; -import { MermaidOptions } from "@excalidraw/mermaid-to-excalidraw"; +import type { MermaidOptions } from "@excalidraw/mermaid-to-excalidraw"; import { t } from "../i18n"; import Trans from "./Trans"; @@ -49,6 +49,7 @@ const importMermaidDataFromStorage = () => { const ErrorComp = ({ error }: { error: string }) => { return (