0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-09 16:30:37 -05:00

🐛 Fix impossible to add group to typographies

This commit is contained in:
Alejandro Alonso 2023-06-23 12:48:09 +02:00 committed by Andrey Antukh
parent a8e058ada6
commit f75b111564

View file

@ -1893,7 +1893,7 @@
create-group
(mf/use-fn
(mf/deps typographies selected on-clear-selection file-id)
(mf/deps typographies selected on-clear-selection file-id (:id @state))
(fn [group-name]
(on-clear-selection)
(let [undo-id (js/Symbol)]
@ -1927,7 +1927,7 @@
on-group
(mf/use-fn
(mf/deps typographies selected)
(mf/deps typographies selected create-group)
(fn [event]
(dom/stop-propagation event)
(modal/show! :name-group-dialog {:accept create-group})))