mirror of
https://github.com/penpot/penpot.git
synced 2025-02-10 00:58:26 -05:00
🐛 Fix problem with order in color palette
This commit is contained in:
parent
9e3ba85b72
commit
c21ad48370
1 changed files with 1 additions and 1 deletions
|
@ -210,7 +210,7 @@
|
|||
(cond
|
||||
(= selected :recent) (reverse recent-colors)
|
||||
(= selected :file) (->> (vals file-colors) (sort-by :name))
|
||||
:else (library->colors shared-libs selected))))))
|
||||
:else (->> (library->colors shared-libs selected) (sort-by :name)))))))
|
||||
|
||||
(mf/use-effect
|
||||
(mf/deps recent-colors)
|
||||
|
|
Loading…
Add table
Reference in a new issue