mirror of
https://github.com/penpot/penpot.git
synced 2025-01-10 00:40:30 -05:00
🐛 Fix impossible to add group to typographies
This commit is contained in:
parent
a8e058ada6
commit
f75b111564
1 changed files with 2 additions and 2 deletions
|
@ -1893,7 +1893,7 @@
|
||||||
|
|
||||||
create-group
|
create-group
|
||||||
(mf/use-fn
|
(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]
|
(fn [group-name]
|
||||||
(on-clear-selection)
|
(on-clear-selection)
|
||||||
(let [undo-id (js/Symbol)]
|
(let [undo-id (js/Symbol)]
|
||||||
|
@ -1927,7 +1927,7 @@
|
||||||
|
|
||||||
on-group
|
on-group
|
||||||
(mf/use-fn
|
(mf/use-fn
|
||||||
(mf/deps typographies selected)
|
(mf/deps typographies selected create-group)
|
||||||
(fn [event]
|
(fn [event]
|
||||||
(dom/stop-propagation event)
|
(dom/stop-propagation event)
|
||||||
(modal/show! :name-group-dialog {:accept create-group})))
|
(modal/show! :name-group-dialog {:accept create-group})))
|
||||||
|
|
Loading…
Reference in a new issue