fix: add pagination to campaigns list

The campaigns page was fetching only the first 50 items with no way
to load more. Switched from useQuery to useInfiniteQuery with a
"Load more" button so all campaigns are accessible.
This commit is contained in:
Fringg
2026-03-07 07:04:56 +03:00
parent f7afa002f0
commit 46f640a7e0
3 changed files with 34 additions and 4 deletions

View File

@@ -2031,6 +2031,7 @@
"subtitle": "Manage advertising links",
"createButton": "Create",
"noData": "No ad campaigns",
"loadMore": "Load more",
"bonusType": {
"balance": "Balance",
"subscription": "Subscription",