From febd4e437997dfd570a47b1511e61beeff5e5623 Mon Sep 17 00:00:00 2001 From: Faisal Amir Date: Mon, 8 Jan 2024 09:58:34 +0700 Subject: [PATCH] fix enable type in search command dialog --- web/containers/Providers/KeyListener.tsx | 1 - 1 file changed, 1 deletion(-) diff --git a/web/containers/Providers/KeyListener.tsx b/web/containers/Providers/KeyListener.tsx index 00bcb8c929..02fc291418 100644 --- a/web/containers/Providers/KeyListener.tsx +++ b/web/containers/Providers/KeyListener.tsx @@ -24,7 +24,6 @@ export default function KeyListener({ children }: Props) { useEffect(() => { const onKeyDown = (e: KeyboardEvent) => { - e.preventDefault() const prefixKey = isMac ? e.metaKey : e.ctrlKey if (e.key === 'b' && prefixKey) {