0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-03-28 15:41:25 -05:00

🐛 Fix duplicate component

This commit is contained in:
Alejandro Alonso 2024-04-30 10:01:29 +02:00 committed by Andrés Moya
parent f354942487
commit bca8180aeb

View file

@ -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)