fix(frontend): reset colour and change size of member card links

This commit is contained in:
sam 2024-09-29 20:37:30 +02:00
parent 4514216405
commit 3f0a94af3d
Signed by: sam
GPG key ID: B4EF20DDE721CAA1
2 changed files with 3 additions and 1 deletions

View file

@ -56,12 +56,14 @@ export default function UserPage() {
<Pagination className="justify-content-center">
<Pagination.Prev
as={Link}
// @ts-expect-error using as=Link causes an error here, even though it runs completely fine
to={`/@${user.username}?page=${currentPage - 1}`}
disabled={currentPage === 0}
/>
{paginationItems}
<Pagination.Next
as={Link}
// @ts-expect-error using as=Link causes an error here, even though it runs completely fine
to={`/@${user.username}?page=${currentPage + 1}`}
disabled={currentPage === pageCount - 1}
/>