Skip to content

Commit c0212ee

Browse files
committed
Refactor page navigation button contents
1 parent eaf5d3e commit c0212ee

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

components/ArticleListView.tsx

+2-4
Original file line numberDiff line numberDiff line change
@@ -39,17 +39,15 @@ function PrevButton({ basePath, currentPageNumber }: PagingButtonProps) {
3939
const prevPageLink = currentPageNumber === 2 ? `${basePath}/` : `${basePath}/page/${currentPageNumber - 1}`
4040
return (
4141
<Link href={prevPageLink}>
42-
{/* eslint-disable-next-line jsx-a11y/anchor-has-content */}
43-
<a className="prev">prev_page</a>
42+
<a className="prev">&lt; Prev Page</a>
4443
</Link>
4544
)
4645
}
4746

4847
function NextButton({ basePath, currentPageNumber }: PagingButtonProps) {
4948
return (
5049
<Link href={`${basePath}/page/${currentPageNumber + 1}`}>
51-
{/* eslint-disable-next-line jsx-a11y/anchor-has-content */}
52-
<a className="next">next_page</a>
50+
<a className="next">Next Page &gt;</a>
5351
</Link>
5452
)
5553
}

0 commit comments

Comments
 (0)