From a8a5e7b6ff0d6b7f1ac8efa9ec5d4a62a05dacf5 Mon Sep 17 00:00:00 2001 From: dwelle Date: Mon, 10 May 2021 16:19:31 +0200 Subject: [PATCH] fix: no migrating `draw` lines correctly --- src/data/restore.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/data/restore.ts b/src/data/restore.ts index f41e75cc..a8f968c9 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,