We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a695187 commit 772beabCopy full SHA for 772beab
packages/module/src/Hooks/pagination.ts
@@ -55,7 +55,7 @@ export const useDataViewPagination = ({
55
setState({ page: currentPage, perPage: currentPerPage });
56
}
57
// eslint-disable-next-line react-hooks/exhaustive-deps
58
- }, [ searchParams ]);
+ }, [ searchParams?.toString() ]);
59
60
const onPerPageSelect = (
61
_event: React.MouseEvent | React.KeyboardEvent | MouseEvent | undefined,
0 commit comments