mirror of
https://github.com/penpot/penpot.git
synced 2026-03-06 02:01:09 +00:00
🐛 Fixes problem with palette.
This commit is contained in:
@@ -191,8 +191,10 @@
|
||||
[:span.right-arrow {:on-click on-right-arrow-click} i/arrow-slide]]))
|
||||
|
||||
(defn library->colors [shared-libs selected]
|
||||
(map #(merge {:file-id selected} %)
|
||||
(vals (get-in shared-libs [selected :data :colors]))))
|
||||
(map #(merge % {:file-id selected})
|
||||
(-> shared-libs
|
||||
(get-in [selected :data :colors])
|
||||
(vals))))
|
||||
|
||||
(mf/defc colorpalette
|
||||
[{:keys [left-sidebar?]}]
|
||||
|
||||
Reference in New Issue
Block a user