Javascript – Tanstack Data Table keeps resetting pagination
I have a table from @tanstack/react-table I want to implement pagination. I've the below so far and when I click next page it adds 1 to the pageIndex, but then immediately resets it back to 0. CODE "use client"; import…