mirror of
https://github.com/penpot/penpot.git
synced 2025-04-01 01:21:21 -05:00
🐛 Fix duplicate component
This commit is contained in:
parent
f354942487
commit
bca8180aeb
1 changed files with 1 additions and 1 deletions
|
@ -166,7 +166,7 @@
|
||||||
|
|
||||||
[new-component-shape new-component-shapes ; <- null in components-v2
|
[new-component-shape new-component-shapes ; <- null in components-v2
|
||||||
new-main-instance-shape new-main-instance-shapes]
|
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
|
(-> changes
|
||||||
(pcb/with-page main-instance-page)
|
(pcb/with-page main-instance-page)
|
||||||
|
|
Loading…
Add table
Reference in a new issue