Pagination component doesn't update `page` when prop is changed
This is a weird bug that @samdbeckham ran into with the pagination.
If you update the page
prop, it will never update currentPage
meaning you can't actually change the page
by updating the prop with whatever number we pass it.
It also means that if the pagination component gets initialized before we have received the API request with the pagination headers currentPage
will be undefined
.
Solution would be to add a watch onto the page
prop which then just updates currentPage
.
/cc @ClemMakesApps