fixes: exposes the latest currentData in the table (#4364)

This commit is contained in:
Arpit 2022-10-13 11:18:20 +05:30 committed by GitHub
parent c1adcc9e2c
commit bdbd98bcd2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -429,7 +429,7 @@ export function Table({
['selectedRow', []],
['selectedRowId', null],
]);
}, [tableData.length, tableDetails.changeSet]);
}, [tableData.length, tableDetails.changeSet, page]);
useEffect(() => {
const newColumnSizes = { ...columnSizes, ...state.columnResizing.columnWidths };