Skip to content

usePagination not applying pagination - code same as example #2399

Answered by ayushmalviya27
ror-y asked this question in General
Discussion options

You must be logged in to vote

You're using the rows prop instead of page.
Instead of rows.map(row....
You need to use page.map(...

Don't forget to get page from the useTable hook.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@ror-y
Comment options

Answer selected by ror-y
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants