From 7f0d9c97b482964f74caa3d418bb88b4dd8c6fb0 Mon Sep 17 00:00:00 2001 From: Matthias Van Parijs Date: Sat, 2 Nov 2024 09:11:56 +0100 Subject: [PATCH] fix: Use totalPages --- packages/app/src/pages/AssetsPage.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/app/src/pages/AssetsPage.tsx b/packages/app/src/pages/AssetsPage.tsx index 5ceb9aec..e92aa4ec 100644 --- a/packages/app/src/pages/AssetsPage.tsx +++ b/packages/app/src/pages/AssetsPage.tsx @@ -53,7 +53,7 @@ export function AssetsPage() { }); if (filter.page > listQuery.data.totalPages) { - updateFilter({ page: 1 }); + updateFilter({ page: listQuery.data.totalPages }); } return (