Correct pagination.tsx chapter reference (#784)

Chapter to uncomment was 7 instead of 11
This commit is contained in:
vincent bruneau
2024-07-06 05:17:33 +02:00
committed by GitHub
parent 91e23c4040
commit 929b6bbbb2

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 7
// NOTE: Uncomment this code in Chapter 11
// const allPages = generatePagination(currentPage, totalPages);
return (
<>
{/* NOTE: Uncomment this code in Chapter 7 */}
{/* NOTE: Uncomment this code in Chapter 11 */}
{/* <div className="inline-flex">
<PaginationArrow