mirror of
https://github.com/penpot/penpot.git
synced 2026-04-25 19:28:12 +00:00
🐛 Fix impossible to add group to typographies
This commit is contained in:
parent
a8e058ada6
commit
f75b111564
@ -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})))
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user