Medium 修复分页面插件异常

This commit is contained in:
tangly1024
2022-02-28 14:42:39 +08:00
parent 0cda033ec9
commit b4d160a6eb
2 changed files with 3 additions and 3 deletions

View File

@@ -14,7 +14,7 @@ const PaginationSimple = ({ page, totalPage }) => {
const { locale } = useGlobal()
const router = useRouter()
const currentPage = +page
const showNext = currentPage <= totalPage
const showNext = currentPage < totalPage
return (
<div className='my-10 flex justify-between font-medium text-black dark:text-gray-100 space-x-2'>
<Link

View File

@@ -3,7 +3,7 @@
*/
// export * from './Empty' // 空主题
export * from './NEXT'
// export * from './NEXT'
// export * from './Fukasawa'
// export * from './Hexo'
// export * from './Medium'
export * from './Medium'