Skip to content

Commit

Permalink
fix eslint issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Salam-Dalloul committed Dec 4, 2024
1 parent 040c957 commit 8019b30
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ const GraphDiagram: React.FC<GraphDiagramProps> = ({
useEffect(() => {
initializeGraph();
// eslint-disable-next-line react-hooks/exhaustive-deps
}, [rankdir, initializeGraph]);
}, [rankdir]);

// This effect prevents the default scroll and touchmove behavior
useEffect(() => {
Expand Down

0 comments on commit 8019b30

Please sign in to comment.