reiji-h 1 year ago
parent
commit
02ef4ba5a4
1 changed files with 2 additions and 1 deletions
  1. 2 1
      apps/app/src/features/mermaid/components/MermaidViewer.tsx

+ 2 - 1
apps/app/src/features/mermaid/components/MermaidViewer.tsx

@@ -1,4 +1,5 @@
-import React, { useRef, useEffect, ReactNode } from 'react';
+import type { ReactNode } from 'react';
+import React, { useRef, useEffect } from 'react';
 
 import mermaid from 'mermaid';