mirror of
https://github.com/penpot/penpot.git
synced 2025-05-28 03:06:11 +02:00
♻️ Refactor front end test to make use of common file helpers
This commit is contained in:
parent
c16ef39abf
commit
da939cc0a6
3 changed files with 106 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue