Skip to content

Commit e8f61c5

Browse files
committed
removing extra cleanup
1 parent e98fe68 commit e8f61c5

1 file changed

Lines changed: 0 additions & 12 deletions

File tree

src/lib/fragments/AgGrid.react.js

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1459,18 +1459,6 @@ export function DashAgGrid(props) {
14591459
};
14601460
}, [props.getRowsResponse]);
14611461

1462-
// ensure any stray timeout cleared on unmount (defensive)
1463-
useEffect(
1464-
() => () => {
1465-
if (resetTimeoutRef.current) {
1466-
clearTimeout(resetTimeoutRef.current);
1467-
resetTimeoutRef.current = null;
1468-
}
1469-
resettingCount.current = false;
1470-
},
1471-
[]
1472-
);
1473-
14741462
// Handle master detail response
14751463
useEffect(() => {
14761464
if (

0 commit comments

Comments
 (0)