소스 검색

fix: no migrating `draw` lines correctly

dwelle 4 년 전
부모
커밋
a8a5e7b6ff
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  1. 3 0
      src/data/restore.ts

+ 3 - 0
src/data/restore.ts

@@ -122,6 +122,9 @@ const restoreElement = (
       });
     }
     case "line":
+    // @ts-ignore LEGACY type
+    // eslint-disable-next-line no-fallthrough
+    case "draw":
     case "arrow": {
       const {
         startArrowhead = null,