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

@@ -2545,6 +2545,7 @@
"subtitle": "Управление рекламными ссылками",
"createButton": "Создать",
"noData": "Нет рекламных кампаний",
"loadMore": "Загрузить ещё",
"bonusType": {
"balance": "Баланс",
"subscription": "Подписка",