mirror of
https://github.com/penpot/penpot.git
synced 2026-02-12 22:53:02 +00:00
🐛 Fix duplicate component
This commit is contained in:
committed by
Andrés Moya
parent
f354942487
commit
bca8180aeb
@@ -166,7 +166,7 @@
|
||||
|
||||
[new-component-shape new-component-shapes ; <- null in components-v2
|
||||
new-main-instance-shape new-main-instance-shapes]
|
||||
(duplicate-component (:data library) component new-component-id)]
|
||||
(duplicate-component component new-component-id (:data library))]
|
||||
|
||||
(-> changes
|
||||
(pcb/with-page main-instance-page)
|
||||
|
||||
Reference in New Issue
Block a user