From e81408560e0289942da4666cacef522db61d594a Mon Sep 17 00:00:00 2001 From: Laurent Nguyen Date: Fri, 23 Aug 2024 17:26:22 +0200 Subject: [PATCH] Remove unused function --- src/Explorer/Tabs/DocumentsTabV2/DocumentsTabV2.tsx | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/Explorer/Tabs/DocumentsTabV2/DocumentsTabV2.tsx b/src/Explorer/Tabs/DocumentsTabV2/DocumentsTabV2.tsx index 4fde84b55..93b1ee1ac 100644 --- a/src/Explorer/Tabs/DocumentsTabV2/DocumentsTabV2.tsx +++ b/src/Explorer/Tabs/DocumentsTabV2/DocumentsTabV2.tsx @@ -1316,16 +1316,6 @@ export const DocumentsTabComponent: React.FunctionComponent = (event) => { - if (event.key === " " || event.key === "Enter") { - const focusElement = event.target as HTMLElement; - refreshDocumentsGrid(false); - focusElement && focusElement.focus(); - event.stopPropagation(); - event.preventDefault(); - } - }; - const onLoadMoreKeyInput: KeyboardEventHandler = (event) => { if (event.key === " " || event.key === "Enter") { const focusElement = event.target as HTMLElement;