♻️ Refactor front end test to make use of common file helpers

This commit is contained in:
Andrés Moya 2024-05-10 19:40:48 +02:00
parent c16ef39abf
commit da939cc0a6
3 changed files with 106 additions and 1 deletions

View file

@ -97,7 +97,7 @@
(if (empty? shapes)
state
(let [[group changes]
(dwg/prepare-create-group nil (:objects page) (:id page) shapes prefix true)]
(dwg/prepare-create-group (pcb/empty-changes) nil (:objects page) (:id page) shapes prefix true)]
(swap! idmap assoc label (:id group))
(update state :workspace-data