From 30aac540e7ea84afcfd208487d5deb26a6a7cf9c Mon Sep 17 00:00:00 2001 From: Noransaber Date: Wed, 6 May 2026 09:11:45 +0300 Subject: [PATCH] fix(chapter-10): clarify allPages must be uncommented before JSX block --- dashboard/starter-example/app/ui/invoices/pagination.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/dashboard/starter-example/app/ui/invoices/pagination.tsx b/dashboard/starter-example/app/ui/invoices/pagination.tsx index 0c9bc87e..2222d0fa 100644 --- a/dashboard/starter-example/app/ui/invoices/pagination.tsx +++ b/dashboard/starter-example/app/ui/invoices/pagination.tsx @@ -7,12 +7,13 @@ import { generatePagination } from '@/app/lib/utils'; export default function Pagination({ totalPages }: { totalPages: number }) { // NOTE: Uncomment this code in Chapter 10 - + // Step 1: Uncomment the line below before uncommenting the JSX return block // const allPages = generatePagination(currentPage, totalPages); return ( <> - {/* NOTE: Uncomment this code in Chapter 10 */} + {/* NOTE: Uncomment this code in Chapter 10 */} + {/* Step 2: Make sure the allPages variable above is also uncommented */} {/*