refresh api logout and login

This commit is contained in:
Samandar Turgunboyev
2026-02-18 10:33:01 +05:00
parent 78e79d295e
commit ea097d3953
8 changed files with 14 additions and 22 deletions

View File

@@ -23,7 +23,7 @@ const getPages = (current: number, total: number) => {
pages.push('dots');
}
const start = Math.max(2, current - 1);
const start = Math.min(2, current - 1);
const end = Math.min(total - 1, current + 1);
for (let i = start; i <= end; i++) {