mirror of
https://github.com/penpot/penpot.git
synced 2026-02-12 22:53:02 +00:00
🐛 Fix problem with order in color palette
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user