We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5b6d540 commit 304a105Copy full SHA for 304a105
webapp/src/pages/ClassOverlap.tsx
@@ -56,7 +56,10 @@ const ClassOverlap = () => {
56
);
57
58
const commitOverlapThreshold = useDebounced(
59
- (overlapThreshold: number | undefined) => setQuery({ overlapThreshold })
+ React.useCallback(
60
+ (overlapThreshold: number | undefined) => setQuery({ overlapThreshold }),
61
+ [setQuery]
62
+ )
63
64
65
const checkValid = data?.plot.data[0].node.x.length > 0;
0 commit comments