mirror of
https://github.com/penpot/penpot.git
synced 2025-01-21 06:02:32 -05:00
Fix theme groups not showing up in create state
This commit is contained in:
parent
281b801112
commit
56374171d6
1 changed files with 3 additions and 1 deletions
|
@ -226,10 +226,12 @@
|
|||
(mf/defc create-theme
|
||||
[{:keys [set-state]}]
|
||||
(let [token-sets (mf/deref refs/workspace-ordered-token-sets)
|
||||
theme {:name "" :sets #{}}]
|
||||
theme {:name "" :sets #{}}
|
||||
theme-groups (mf/deref refs/workspace-token-theme-groups)]
|
||||
[:& edit-theme
|
||||
{:token-sets token-sets
|
||||
:theme theme
|
||||
:theme-groups theme-groups
|
||||
:on-back #(set-state (constantly {:type :themes-overview}))
|
||||
:on-submit #(st/emit! (wdt/create-token-theme %))}]))
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue