mirror of
https://github.com/openziti/zrok.git
synced 2024-11-07 08:44:14 +01:00
added two linter suppressions on useEffect deps
This commit is contained in:
parent
7d1b6192f1
commit
20a0ecacde
@ -17,12 +17,14 @@ const Visualizer = (props) => {
|
||||
console.log("resetting selection", props.selection);
|
||||
props.setSelection(props.defaultSelection);
|
||||
}
|
||||
// eslint-disable-next-line react-hooks/exhaustive-deps
|
||||
}, [props.overview]);
|
||||
|
||||
markSelected(networkGraph, props.selection);
|
||||
|
||||
useEffect(() => {
|
||||
markSelected(networkGraph, props.selection);
|
||||
// eslint-disable-next-line react-hooks/exhaustive-deps
|
||||
}, [props.selection]);
|
||||
|
||||
// fgRef to access force graph controls from this component
|
||||
|
Loading…
Reference in New Issue
Block a user