mirror of
https://github.com/penpot/penpot.git
synced 2025-08-04 03:48:31 +02:00
🐛 Fix enable comment mode and insert image keeps on comment mode
This commit is contained in:
parent
8a3c580d0f
commit
92ee6320f5
2 changed files with 6 additions and 1 deletions
|
@ -30,7 +30,10 @@
|
|||
file-id (mf/use-ctx ctx/current-file-id)
|
||||
|
||||
on-click
|
||||
(mf/use-fn #(dom/click (mf/ref-val ref)))
|
||||
(mf/use-fn
|
||||
(fn []
|
||||
(st/emit! :interrupt dw/clear-edition-mode)
|
||||
(dom/click (mf/ref-val ref))))
|
||||
|
||||
on-selected
|
||||
(mf/use-fn
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue