style: updated comment

ref: N25B-450
This commit is contained in:
JGerla
2026-01-22 16:18:07 +01:00
parent 84d9cbb19d
commit 2cbd905f0b

View File

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