0
Fork 0
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:
Andrés Moya 2023-05-19 16:38:29 +02:00
parent 42a044fd22
commit f73d7111b4

View file

@ -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