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);