mirror of
https://github.com/penpot/penpot.git
synced 2025-01-09 08:20:45 -05:00
Minor naming improvements.
This commit is contained in:
parent
8c030ac73e
commit
f82f9f8384
1 changed files with 2 additions and 2 deletions
|
@ -68,8 +68,8 @@
|
|||
(letfn [(select-first [state]
|
||||
(if (= type :builtin)
|
||||
(assoc-in state [:dashboard :collection-id] 1)
|
||||
(let [coll (sort-by :id (vals (:colors-by-id state)))]
|
||||
(assoc-in state [:dashboard :collection-id] (:id (first coll))))))]
|
||||
(let [colls (sort-by :id (vals (:colors-by-id state)))]
|
||||
(assoc-in state [:dashboard :collection-id] (:id (first colls))))))]
|
||||
(reify
|
||||
rs/UpdateEvent
|
||||
(-apply-update [_ state]
|
||||
|
|
Loading…
Reference in a new issue