瀏覽代碼

chore: fix lint

yukendev 2 年之前
父節點
當前提交
4caa04bb75
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      packages/editor/src/components/CodeMirrorEditor/Toolbar/DiagramButton.tsx

+ 2 - 2
packages/editor/src/components/CodeMirrorEditor/Toolbar/DiagramButton.tsx

@@ -3,8 +3,8 @@ import { useCallback } from 'react';
 import { useDrawioModalForEditor } from '../../../stores/use-drawio';
 
 type Props = {
-  editorKey: string;
-};
+  editorKey: string,
+}
 
 export const DiagramButton = (props: Props): JSX.Element => {
   const { editorKey } = props;