mirror of
https://github.com/penpot/penpot.git
synced 2025-12-23 22:48:40 -05:00
Cleanup
This commit is contained in:
@@ -126,7 +126,8 @@
|
||||
(mf/deps tokens)
|
||||
(fn []
|
||||
(-> (into #{} (map (fn [[_ {:keys [name]}]] name) tokens))
|
||||
;; Allow setting token to already used name
|
||||
;; Remove the currently editing token name,
|
||||
;; as we don't want it to show when checking for duplicate names.
|
||||
(disj (:name token)))))
|
||||
|
||||
;; Name
|
||||
|
||||
Reference in New Issue
Block a user