Skip to content

Commit

Permalink
fix(Cluster reports): fix infinite table re-render when there are no …
Browse files Browse the repository at this point in the history
  • Loading branch information
gkarat authored Jun 10, 2022
1 parent 2bbe60d commit 54632ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Components/ClusterRules/ClusterRules.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ const ClusterRules = ({ cluster }) => {

useEffect(() => {
setFilteredRows(buildFilteredRows(reports, filters));
}, [reports, filters]);
}, [data, filters]);

useEffect(() => {
setDisplayedRows(
Expand Down

0 comments on commit 54632ef

Please sign in to comment.