diff --git a/frontend/src/app/main/ui/workspace/tokens/modals/themes.cljs b/frontend/src/app/main/ui/workspace/tokens/modals/themes.cljs index cd23c4ab3..f2f0b0420 100644 --- a/frontend/src/app/main/ui/workspace/tokens/modals/themes.cljs +++ b/frontend/src/app/main/ui/workspace/tokens/modals/themes.cljs @@ -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}))