From c727d82cddf84e08f9c54812a06966a47cfb6fe0 Mon Sep 17 00:00:00 2001 From: MokireddySampath <120497218+MokireddySampath@users.noreply.github.com> Date: Wed, 26 Jul 2023 22:56:08 +0530 Subject: [PATCH] Update PanelContainerComponent.tsx --- src/Explorer/Panes/PanelContainerComponent.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Explorer/Panes/PanelContainerComponent.tsx b/src/Explorer/Panes/PanelContainerComponent.tsx index 51c3e7b29..253be3b1c 100644 --- a/src/Explorer/Panes/PanelContainerComponent.tsx +++ b/src/Explorer/Panes/PanelContainerComponent.tsx @@ -79,7 +79,7 @@ export class PanelContainerComponent extends React.Component): void => { const collection = useSelectedNode.getState().findSelectedCollection(); - const targetElementDataTest: string | undefined = collection.id(); + const targetElementDataTest: string = collection.id(); const targetElement: HTMLElement | null = document.querySelector(`[data-test="${targetElementDataTest}"]`); if (ev && (ev.target as HTMLElement).id === "notificationConsoleHeader") { ev.preventDefault();