d1674add90e437fd2ef21b45c7374bf3b2f99a6b
Remove 'bans' from the useEffect dependency array that resets pagination. Since 'bans' changes with every background data refresh (new array reference), the page was being reset to 1 every 30 seconds, making the table unusable for pagination beyond the first page. Add a separate effect that clamps the current page to totalPages when the data shrinks below the current page offset (edge case when filtered results are fewer than displayed page). Fixes TASK-BUG-03. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Description
No description provided
Languages
Python
61.2%
TypeScript
24.9%
HTML
8.4%
Markdown
2.5%
Roff
0.9%
Other
2%