Skip to content

Commit

Permalink
Fix primefaces#5281/primefaces#5160: Revert fix causing infinite loop
Browse files Browse the repository at this point in the history
  • Loading branch information
melloware committed Nov 10, 2023
1 parent 92607ee commit 4ac1791
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/lib/datatable/DataTable.js
Original file line number Diff line number Diff line change
Expand Up @@ -1439,7 +1439,7 @@ export const DataTable = React.forwardRef((inProps, ref) => {
if (props.onValueChange) {
props.onValueChange(processedData({ filters }));
}
}, [props.filters, props.children]);
}, [props.filters]);

useUpdateEffect(() => {
if (isStateful()) {
Expand Down

0 comments on commit 4ac1791

Please sign in to comment.