From b4d160a6eb0ff8bf34521646a86928f3e9d9b461 Mon Sep 17 00:00:00 2001 From: tangly1024 Date: Mon, 28 Feb 2022 14:42:39 +0800 Subject: [PATCH] =?UTF-8?q?Medium=20=E4=BF=AE=E5=A4=8D=E5=88=86=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2=E6=8F=92=E4=BB=B6=E5=BC=82=E5=B8=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- themes/Medium/components/PaginationSimple.js | 2 +- themes/index.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/themes/Medium/components/PaginationSimple.js b/themes/Medium/components/PaginationSimple.js index 5f4698ac..fcf06ba2 100644 --- a/themes/Medium/components/PaginationSimple.js +++ b/themes/Medium/components/PaginationSimple.js @@ -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 (