diff --git a/dashboard/starter-example/app/ui/dashboard/cards.tsx b/dashboard/starter-example/app/ui/dashboard/cards.tsx
index 10fadb4..adf10ac 100644
--- a/dashboard/starter-example/app/ui/dashboard/cards.tsx
+++ b/dashboard/starter-example/app/ui/dashboard/cards.tsx
@@ -5,7 +5,6 @@ import {
InboxIcon,
} from '@heroicons/react/24/outline';
import { lusitana } from '@/app/ui/fonts';
-import { fetchCardData } from '@/app/lib/data';
const iconMap = {
collected: BanknotesIcon,
@@ -15,13 +14,6 @@ const iconMap = {
};
export default async function Cards() {
- const {
- numberOfInvoices,
- numberOfCustomers,
- totalPaidInvoices,
- totalPendingInvoices,
- } = await fetchCardData();
-
return (
<>
diff --git a/dashboard/starter-example/app/ui/dashboard/latest-invoices.tsx b/dashboard/starter-example/app/ui/dashboard/latest-invoices.tsx
index 14262c9..9e25e4e 100644
--- a/dashboard/starter-example/app/ui/dashboard/latest-invoices.tsx
+++ b/dashboard/starter-example/app/ui/dashboard/latest-invoices.tsx
@@ -2,10 +2,7 @@ import { ArrowPathIcon } from '@heroicons/react/24/outline';
import clsx from 'clsx';
import Image from 'next/image';
import { lusitana } from '@/app/ui/fonts';
-import { fetchLatestInvoices } from '@/app/lib/data';
export default async function LatestInvoices() {
- const latestInvoices = await fetchLatestInvoices();
-
return (
diff --git a/dashboard/starter-example/app/ui/dashboard/revenue-chart.tsx b/dashboard/starter-example/app/ui/dashboard/revenue-chart.tsx
index 63b4726..1305358 100644
--- a/dashboard/starter-example/app/ui/dashboard/revenue-chart.tsx
+++ b/dashboard/starter-example/app/ui/dashboard/revenue-chart.tsx
@@ -1,7 +1,6 @@
import { generateYAxis } from '@/app/lib/utils';
import { CalendarIcon } from '@heroicons/react/24/outline';
import { lusitana } from '@/app/ui/fonts';
-import { fetchRevenue } from '@/app/lib/data';
// This component is representational only.
// For data visualization UI, check out:
@@ -10,8 +9,6 @@ import { fetchRevenue } from '@/app/lib/data';
// https://airbnb.io/visx/
export default async function RevenueChart() {
- const revenue = await fetchRevenue();
-
const chartHeight = 350;
const { yAxisLabels, topLabel } = generateYAxis(revenue);