diff --git a/src/components/common/DataGrid.tsx b/src/components/common/DataGrid.tsx index a31985265..1ed872e9e 100644 --- a/src/components/common/DataGrid.tsx +++ b/src/components/common/DataGrid.tsx @@ -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;