From ca6428f21926524d08c8aae121e9c705a147540e Mon Sep 17 00:00:00 2001 From: huanfei <41602338+huanfe1@users.noreply.github.com> Date: Sat, 9 Nov 2024 18:41:25 +0800 Subject: [PATCH] fix: prevent right cilck on content menu (#1525) --- apps/renderer/src/providers/context-menu-provider.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/renderer/src/providers/context-menu-provider.tsx b/apps/renderer/src/providers/context-menu-provider.tsx index fd877b46de..d9a7a74da1 100644 --- a/apps/renderer/src/providers/context-menu-provider.tsx +++ b/apps/renderer/src/providers/context-menu-provider.tsx @@ -71,7 +71,7 @@ const Handler = () => { return ( - + e.preventDefault()}> {contextMenuState.open && contextMenuState.menuItems.map((item, index) => )}