File tree Expand file tree Collapse file tree 4 files changed +6
-6
lines changed
dashboard/starter-example/app/ui Expand file tree Collapse file tree 4 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ const iconMap = {
1616export default async function CardWrapper ( ) {
1717 return (
1818 < >
19- { /* NOTE: comment in this code when you get to this point in the course */ }
19+ { /* NOTE: Uncomment this code in Chapter 9 */ }
2020
2121 { /* <Card title="Collected" value={totalPaidInvoices} type="collected" />
2222 <Card title="Pending" value={totalPendingInvoices} type="pending" />
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ export default async function LatestInvoices({
1414 Latest Invoices
1515 </ h2 >
1616 < div className = "flex grow flex-col justify-between rounded-xl bg-gray-50 p-4" >
17- { /* NOTE: comment in this code when you get to this point in the course */ }
17+ { /* NOTE: Uncomment this code in Chapter 9 */ }
1818
1919 { /* <div className="bg-white px-6">
2020 {latestInvoices.map((invoice, i) => {
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ export default async function RevenueChart({
1515 revenue : Revenue [ ] ;
1616} ) {
1717 const chartHeight = 350 ;
18- // NOTE: comment in this code when you get to this point in the course
18+ // NOTE: Uncomment this code in Chapter 7
1919
2020 // const { yAxisLabels, topLabel } = generateYAxis(revenue);
2121
@@ -28,7 +28,7 @@ export default async function RevenueChart({
2828 < h2 className = { `${ lusitana . className } mb-4 text-xl md:text-2xl` } >
2929 Recent Revenue
3030 </ h2 >
31- { /* NOTE: comment in this code when you get to this point in the course */ }
31+ { /* NOTE: Uncomment this code in Chapter 7 */ }
3232
3333 { /* <div className="rounded-xl bg-gray-50 p-4">
3434 <div className="sm:grid-cols-13 mt-0 grid grid-cols-12 items-end gap-2 rounded-md bg-white p-4 md:gap-4">
Original file line number Diff line number Diff line change @@ -6,13 +6,13 @@ import Link from 'next/link';
66import { generatePagination } from '@/app/lib/utils' ;
77
88export default function Pagination ( { totalPages } : { totalPages : number } ) {
9- // NOTE: comment in this code when you get to this point in the course
9+ // NOTE: Uncomment this code in Chapter 7
1010
1111 // const allPages = generatePagination(currentPage, totalPages);
1212
1313 return (
1414 < >
15- { /* NOTE: comment in this code when you get to this point in the course */ }
15+ { /* NOTE: Uncomment this code in Chapter 7 */ }
1616
1717 { /* <div className="inline-flex">
1818 <PaginationArrow
You can’t perform that action at this time.
0 commit comments