Skip to content

Commit

Permalink
Fix linting issues after review feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
Shahidullah-Muffakir committed Feb 8, 2024
1 parent 2dc2cac commit 6269a23
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/hooks/useFocusNode.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export const useFocusNode = () => {
setSelectedNode(0);
setNodeCount(0);
}
}, [selectedNode, debouncedValue, value, viewPort, matchedNodes]);
}, [selectedNode, debouncedValue, value, viewPort, matchedNodes, matchedNode]);

return [value, setValue, skip, nodeCount, selectedNode] as const;
};
2 changes: 1 addition & 1 deletion src/store/useGraph.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ const initialStates: Graph = {
collapsedParents: [],
selectedNode: null,
path: "",
searchInputValue:"",
searchInputValue: "",
};

interface GraphActions {
Expand Down

0 comments on commit 6269a23

Please sign in to comment.