0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-02-09 16:48:16 -05:00

🐛 Fix unresolved symbol error introduced in prev merge

This commit is contained in:
Andrey Antukh 2022-02-16 11:29:30 +01:00
parent aa3826c389
commit 09a4cb30ec

View file

@ -321,7 +321,7 @@
;; are small posibilities of race conditions with component
;; deletion.
(when-let [component (get-in state [:workspace-data :components id])]
(let [[path name] (cp/parse-path-name new-name)
(let [[path name] (cph/parse-path-name new-name)
objects (get component :objects)
;; Give the same name to the root shape
new-objects (assoc-in objects