mirror of
https://github.com/penpot/penpot.git
synced 2026-04-30 13:49:06 +00:00
🐛 Avoid crash when renaming a page with double click
This commit is contained in:
parent
42a044fd22
commit
f73d7111b4
@ -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…
x
Reference in New Issue
Block a user