Merge pull request #3944 from AymanAlSuleihi/master

Fix datagrid dropping query params on pagination
This commit is contained in:
Mike Cao
2026-05-15 02:18:39 -04:00
committed by GitHub
+1 -1
View File
@@ -86,7 +86,7 @@ export function DataGrid({
(page: number) => {
router.push(updateParams({ search, page }));
},
[search, updateParams],
[router, updateParams, search],
);
const child = data ? (typeof children === 'function' ? children(data) : children) : null;