mirror of
https://github.com/penpot/penpot.git
synced 2025-03-20 11:41:47 -05:00
🐛 Avoid crash when renaming a page with double click
This commit is contained in:
parent
42a044fd22
commit
f73d7111b4
1 changed files with 1 additions and 2 deletions
|
@ -49,8 +49,7 @@
|
|||
(dom/prevent-default event)
|
||||
(dom/stop-propagation event)
|
||||
(when-not workspace-read-only?
|
||||
(st/emit! (dw/start-rename-page-item id))
|
||||
(st/emit! (dw/hide-context-menu)))))
|
||||
(st/emit! (dw/start-rename-page-item id)))))
|
||||
|
||||
on-blur
|
||||
(mf/use-callback
|
||||
|
|
Loading…
Add table
Reference in a new issue