0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-21 06:02:32 -05:00

Fix expeted id instead of set

This commit is contained in:
Florian Schroedl 2024-08-16 07:09:17 +02:00
parent 3695ba3438
commit 8482a128de

View file

@ -14,7 +14,7 @@
(defn get-workspace-ordered-themes [state]
(let [themes (get-workspace-themes state)
themes-index (get-workspace-themes-index state)]
(->> (map #(get themes-index (:id %)) themes)
(->> (map #(get themes-index %) themes)
(group-by :group))))
(defn theme-selected? [theme]