0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-21 14:12:36 -05:00
This commit is contained in:
Florian Schroedl 2024-08-23 17:22:05 +02:00
parent 967fab416a
commit a52e20f49d

View file

@ -134,8 +134,7 @@
(mf/defc themes (mf/defc themes
[{:keys [] :as _args}] [{:keys [] :as _args}]
(let [active-theme-ids (mf/deref refs/workspace-active-theme-ids) (let [themes (mf/deref refs/workspace-ordered-token-themes)
themes (mf/deref refs/workspace-ordered-token-themes)
state (mf/use-state (if (empty? themes) state (mf/use-state (if (empty? themes)
{:type :empty-themes} {:type :empty-themes}
{:type :themes-overview})) {:type :themes-overview}))