🐛 Fix create typography with section closed

This commit is contained in:
Eva 2023-07-12 10:35:20 +02:00 committed by Alejandro Alonso
parent 9e15a7548f
commit 743397323d
2 changed files with 3 additions and 0 deletions

View file

@ -11,6 +11,7 @@
[app.common.data.macros :as dm]
[app.common.pages.helpers :as cph]
[app.main.data.modal :as modal]
[app.main.data.workspace :as dw]
[app.main.data.workspace.libraries :as dwl]
[app.main.data.workspace.texts :as dwt]
[app.main.data.workspace.undo :as dwu]
@ -344,6 +345,7 @@
(mf/use-fn
(mf/deps file-id)
(fn [_]
(st/emit! (dw/set-assets-section-open file-id :typographies true))
(st/emit! (dwt/add-typography file-id))))
handle-change