Skip to content

Virtual whiteboard for sketching hand-drawn like diagrams

fix: no migrating `draw` lines correctly

dwellea8a5e7b6ff0d
diff --git a/src/data/restore.ts b/src/data/restore.ts
index f41e75ccce..a8f968c97c 100644
--- a/src/data/restore.ts
+++ b/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,