0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-03-20 19:51:23 -05:00

Remove unused local used-names.

This commit is contained in:
Andrey Antukh 2017-01-08 21:43:19 +01:00
parent 80ebc17a26
commit 3ea4de7ab5
No known key found for this signature in database
GPG key ID: 4DFEBCB8316A8B95

View file

@ -155,7 +155,6 @@
ptk/UpdateEvent
(update [_ state]
(let [page (get-in state [:workspace :page])
used-names (map #(get-in state [:shapes % :name]) (get-in state [:pages page :shapes]))
selected (if (nil? id)
(first (:clipboard state))
(->> (:clipboard state)