{Array.from({ length: 8 }).map((_, index) => (
@@ -279,13 +358,51 @@ export default function TransactionsPage() {
);
}
+
+ const transactions = query.data?.transactions ?? [];
+ const total = query.data?.total ?? 0;
+ const totalPages = Math.ceil(total / PAGE_SIZE);
+
return (
-
+
+ {page * PAGE_SIZE + 1}–{Math.min((page + 1) * PAGE_SIZE, total)}{' '}
+ of {total}
+
+
+
+
+ {page + 1} / {totalPages}
+
+
+
+
+ )}
+