This commit is contained in:
Danil_Malin 2023-05-15 14:19:01 +04:00
parent 12e9b3eb9d
commit 858188c8ad

View File

@ -49,7 +49,7 @@ export default function UsersPage(props) {
<nav>
<ul className="pagination">
{pageNumbers.map((number) => (
<li className={`page-item ${number === pageNumber + 1 ? "active" : ""}`}
<li className={`page-item ${number === pageNumber ? "active" : ""}`}
onClick={() => pageButtonOnClick(number)}>
<a className="page-link" href="#">{number}</a>
</li>