Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update dependency array on setPage useCallback hook (#3029)
Changes: Add the onChangeActivePage function to the dependency array of the setPage useCallback hook to ensure it always reflects the latest state. Impact: This fix ensures that the pagination component accurately reflects the current state when triggering onChangeActivePage.
- Loading branch information