fix: e2e issue

This commit is contained in:
Peng Xiao
2022-11-03 13:10:58 +08:00
committed by Tienson Qin
parent c03b8503b0
commit d45e5507b5
2 changed files with 4 additions and 3 deletions

View File

@@ -233,6 +233,7 @@
(clone-whiteboard-from-edn edn (.-api app))))
([{:keys [pages blocks]} api]
(let [page-block (first pages)
;; FIXME: should also clone normal blocks
shapes (->> blocks
(filter gp-whiteboard/shape-block?)
(map gp-whiteboard/block->shape)