From f73d7111b4f33fbf9c38621295f6f36e2128d825 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9s=20Moya?= <andres.moya@kaleidos.net>
Date: Fri, 19 May 2023 16:38:29 +0200
Subject: [PATCH] :bug: Avoid crash when renaming a page with double click

---
 frontend/src/app/main/ui/workspace/sidebar/sitemap.cljs | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/frontend/src/app/main/ui/workspace/sidebar/sitemap.cljs b/frontend/src/app/main/ui/workspace/sidebar/sitemap.cljs
index e16e78789..be7040ede 100644
--- a/frontend/src/app/main/ui/workspace/sidebar/sitemap.cljs
+++ b/frontend/src/app/main/ui/workspace/sidebar/sitemap.cljs
@@ -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