Skip to content

Commit

Permalink
Use "uncomment"
Browse files Browse the repository at this point in the history
  • Loading branch information
delbaoliveira committed Jun 28, 2024
1 parent 79c9c80 commit e1ae527
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion dashboard/starter-example/app/ui/dashboard/cards.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const iconMap = {
export default async function CardWrapper() {
return (
<>
{/* NOTE: comment in this code when you get to this point in the course */}
{/* NOTE: Uncomment this code in Chapter 9 */}

{/* <Card title="Collected" value={totalPaidInvoices} type="collected" />
<Card title="Pending" value={totalPendingInvoices} type="pending" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export default async function LatestInvoices({
Latest Invoices
</h2>
<div className="flex grow flex-col justify-between rounded-xl bg-gray-50 p-4">
{/* NOTE: Comment out this code in Chapter 9 */}
{/* NOTE: Uncomment this code in Chapter 9 */}

{/* <div className="bg-white px-6">
{latestInvoices.map((invoice, i) => {
Expand Down
4 changes: 2 additions & 2 deletions dashboard/starter-example/app/ui/dashboard/revenue-chart.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export default async function RevenueChart({
revenue: Revenue[];
}) {
const chartHeight = 350;
// NOTE: Comment out this code in Chapter 7
// NOTE: Uncomment this code in Chapter 7

// const { yAxisLabels, topLabel } = generateYAxis(revenue);

Expand All @@ -28,7 +28,7 @@ export default async function RevenueChart({
<h2 className={`${lusitana.className} mb-4 text-xl md:text-2xl`}>
Recent Revenue
</h2>
{/* NOTE: Comment out this code in Chapter 7 */}
{/* NOTE: Uncomment this code in Chapter 7 */}

{/* <div className="rounded-xl bg-gray-50 p-4">
<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">
Expand Down
4 changes: 2 additions & 2 deletions dashboard/starter-example/app/ui/invoices/pagination.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ import Link from 'next/link';
import { generatePagination } from '@/app/lib/utils';

export default function Pagination({ totalPages }: { totalPages: number }) {
// NOTE: Comment out this code in Chapter 7
// NOTE: Uncomment this code in Chapter 7

// const allPages = generatePagination(currentPage, totalPages);

return (
<>
{/* NOTE: Comment out this code in Chapter 7 */}
{/* NOTE: Uncomment this code in Chapter 7 */}

{/* <div className="inline-flex">
<PaginationArrow
Expand Down

0 comments on commit e1ae527

Please sign in to comment.