feat: The Big One UI #47
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user