mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-06-07 15:10:32 +00:00
clean code
This commit is contained in:
@@ -60,8 +60,6 @@ const PaginationNumber = ({ page, totalPage }) => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function getPageElement(pagePrefix, page, currentPage) {
|
function getPageElement(pagePrefix, page, currentPage) {
|
||||||
console.log(pagePrefix, page, currentPage)
|
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Link href={page === 1 ? `${pagePrefix}/` : `${pagePrefix}/page/${page}`} key={page} passHref>
|
<Link href={page === 1 ? `${pagePrefix}/` : `${pagePrefix}/page/${page}`} key={page} passHref>
|
||||||
<a className={
|
<a className={
|
||||||
|
|||||||
Reference in New Issue
Block a user