Skip to content

Commit

Permalink
fix: pagination button error with small widths
Browse files Browse the repository at this point in the history
  • Loading branch information
Pvcunha committed Feb 8, 2024
1 parent b97bb0f commit 2ab4150
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/components/article-pagination/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,7 @@ const ArticlePagination = ({
)}
{!hidePaginationNext && pagination.nextDoc.slug && (
<Link
sx={
!hidePaginationPrevious
? styles.paginationLinkNext
: styles.justNext
}
sx={styles.paginationLinkNext}
href={pagination.nextDoc.slug}
onClick={(e: { preventDefault: () => void }) => {
handleClick(e, pagination.nextDoc.slug as string)
Expand Down

0 comments on commit 2ab4150

Please sign in to comment.