From 2cbd905f0b4f808593c73313ee0b64627ac80698 Mon Sep 17 00:00:00 2001 From: JGerla Date: Thu, 22 Jan 2026 16:18:07 +0100 Subject: [PATCH] style: updated comment ref: N25B-450 --- .../visualProgrammingUI/components/WarningSidebar.tsx | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/pages/VisProgPage/visualProgrammingUI/components/WarningSidebar.tsx b/src/pages/VisProgPage/visualProgrammingUI/components/WarningSidebar.tsx index b68c733..255976a 100644 --- a/src/pages/VisProgPage/visualProgrammingUI/components/WarningSidebar.tsx +++ b/src/pages/VisProgPage/visualProgrammingUI/components/WarningSidebar.tsx @@ -134,11 +134,7 @@ function useJumpToNode() { return (nodeId: string) => { - // select the node - - - - // user can't jump to global warning, so prevent further logic from running + // user can't jump to global warning, so prevent further logic from running if the warning is a globalWarning if (nodeId === globalWarning) return; const node = getNode(nodeId); if (!node) return;