0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-21 06:02:32 -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
[{:keys [] :as _args}]
(let [active-theme-ids (mf/deref refs/workspace-active-theme-ids)
themes (mf/deref refs/workspace-ordered-token-themes)
(let [themes (mf/deref refs/workspace-ordered-token-themes)
state (mf/use-state (if (empty? themes)
{:type :empty-themes}
{:type :themes-overview}))