Skip to content

Commit

Permalink
fix: Use totalPages
Browse files Browse the repository at this point in the history
  • Loading branch information
matvp91 committed Nov 2, 2024
1 parent f75a2b3 commit 7f0d9c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/app/src/pages/AssetsPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export function AssetsPage() {
});

if (filter.page > listQuery.data.totalPages) {
updateFilter({ page: 1 });
updateFilter({ page: listQuery.data.totalPages });
}

return (
Expand Down

0 comments on commit 7f0d9c9

Please sign in to comment.