w3ui icon indicating copy to clipboard operation
w3ui copied to clipboard

add `prev` to UploadsListProvider context value

Open travis opened this issue 3 years ago • 1 comments

matching the next function that loads the next page of values, we should have a prev function that remembers the cursor of the page before the current one and navigates to it when prev is called.

this should be as simple as remembering the previous cursor in a new useState and using it in a new prev function that looks very similar to next

travis avatar Dec 06 '22 22:12 travis

@alanshaw suggested looking into adding this to the backend, which would be much cleaner on a bunch of levels, so I'm going to dig into how hard that would be

travis avatar Feb 01 '23 16:02 travis