fix: queryTable is updated with newData (#4084)

This commit is contained in:
Palash Gupta 2023-11-29 12:08:20 +05:30 committed by GitHub
parent 8045c4e5ae
commit 381f497b95
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -61,7 +61,7 @@ export function QueryTable({
<ResizeTable
columns={tableColumns}
tableLayout="fixed"
dataSource={dataSource}
dataSource={newDataSource}
scroll={{ x: true }}
// eslint-disable-next-line react/jsx-props-no-spreading
{...props}