From 311e5178365fdde4920e04ee2bc4d7101341615f Mon Sep 17 00:00:00 2001 From: MokireddySampath <120497218+MokireddySampath@users.noreply.github.com> Date: Wed, 11 Oct 2023 14:20:02 +0530 Subject: [PATCH] Update PanelContainerComponent.tsx --- src/Explorer/Panes/PanelContainerComponent.tsx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/Explorer/Panes/PanelContainerComponent.tsx b/src/Explorer/Panes/PanelContainerComponent.tsx index ec796bc97..327772028 100644 --- a/src/Explorer/Panes/PanelContainerComponent.tsx +++ b/src/Explorer/Panes/PanelContainerComponent.tsx @@ -78,16 +78,14 @@ export class PanelContainerComponent extends React.Component): void => { - let collection = useSelectedNode.getState().findSelectedCollection(); + const collection = useSelectedNode.getState().findSelectedCollection(); if (collection) { - console.log(collection); const targetElementDataTest: string | undefined = collection.id(); const targetElement: HTMLElement | null = document.querySelector(`[data-test="${targetElementDataTest}"]`); if (targetElement) { setTimeout(() => { const moreButton: HTMLElement | null = targetElement.querySelector('[name="More"]'); if (moreButton) { - console.log(targetElementDataTest, targetElement); moreButton.focus(); } }, 100);