From 929b6bbbb2e70898631de5fcd3d70fc9dbc4a915 Mon Sep 17 00:00:00 2001 From: vincent bruneau <52787263+vincent-bru@users.noreply.github.com> Date: Sat, 6 Jul 2024 05:17:33 +0200 Subject: [PATCH] Correct pagination.tsx chapter reference (#784) Chapter to uncomment was 7 instead of 11 --- dashboard/starter-example/app/ui/invoices/pagination.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dashboard/starter-example/app/ui/invoices/pagination.tsx b/dashboard/starter-example/app/ui/invoices/pagination.tsx index a097560..89998ec 100644 --- a/dashboard/starter-example/app/ui/invoices/pagination.tsx +++ b/dashboard/starter-example/app/ui/invoices/pagination.tsx @@ -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 */} {/*