Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This fixes an issue where search parameters were not updated correctly when changing pages in the pagination component. The root cause was the missing onChange dependency in the setPage callback function, which prevented the correct state from being passed on page changes. Changes: Add the onChange function to the dependency array of the setPage callback to ensure it always reflects the latest state. Impact: This fix ensures that the pagination component accurately reflects the current state when triggering onChange.
- Loading branch information