mirror of
https://github.com/penpot/penpot.git
synced 2025-01-21 06:02:32 -05:00
Cleanup
This commit is contained in:
parent
135ecf0e3a
commit
b89dc759be
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue