mirror of
https://github.com/penpot/penpot.git
synced 2025-05-29 14:26:11 +02:00
🐛 Fix touched on adding shapes to a component copy and undo
This commit is contained in:
parent
d4fe810813
commit
d8121364ad
7 changed files with 41 additions and 10 deletions
|
@ -154,7 +154,8 @@
|
|||
(let [page (current-page state)
|
||||
libraries (wsh/get-libraries state)
|
||||
|
||||
changes (pcb/empty-changes nil (:id page))
|
||||
changes (-> (pcb/empty-changes nil (:id page))
|
||||
(pcb/with-objects (:objects page)))
|
||||
|
||||
[new-shape changes]
|
||||
(dwlh/generate-instantiate-component changes
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue