diff --git a/src/components/MermaidToExcalidraw.tsx b/src/components/MermaidToExcalidraw.tsx index 4cdb43179..28ac409f9 100644 --- a/src/components/MermaidToExcalidraw.tsx +++ b/src/components/MermaidToExcalidraw.tsx @@ -56,7 +56,7 @@ const ErrorComp = ({ error }: { error: string }) => { textAlign: "center", }} > - Error!!
{error}
+ Error!{error}
); }; @@ -198,7 +198,7 @@ const MermaidToExcalidraw = ({ - Currently only flowcharts are supported. The other types would be + Currently only flowcharts are supported. The other types will be rendered as image in Excalidraw.