Fix chapter num in pagination component (#1135)

Co-authored-by: Roman Krasikov <romankrru@yandex-team.ru>
This commit is contained in:
Roman Krasikov
2025-11-21 01:47:16 +03:00
committed by GitHub
parent 7a05b718a1
commit f14425bbdf

View File

@@ -6,13 +6,13 @@ import Link from 'next/link';
import { generatePagination } from '@/app/lib/utils';
export default function Pagination({ totalPages }: { totalPages: number }) {
// NOTE: Uncomment this code in Chapter 11
// NOTE: Uncomment this code in Chapter 10
// const allPages = generatePagination(currentPage, totalPages);
return (
<>
{/* NOTE: Uncomment this code in Chapter 11 */}
{/* NOTE: Uncomment this code in Chapter 10 */}
{/* <div className="inline-flex">
<PaginationArrow