From 7295dab1e7f6536efdc9b12c8bdf3b9708e8f0df Mon Sep 17 00:00:00 2001 From: Lee Robinson Date: Sat, 18 Jan 2025 18:59:24 -0600 Subject: [PATCH] Revert "remove unused failing eslint (#894)" (#981) This reverts commit 29f96d1fc1ffc9d0d6e2553bf0f11bcad70ee75d. --- dashboard/starter-example/app/ui/customers/table.tsx | 5 ++++- .../starter-example/app/ui/dashboard/latest-invoices.tsx | 2 +- dashboard/starter-example/app/ui/dashboard/revenue-chart.tsx | 1 + 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/dashboard/starter-example/app/ui/customers/table.tsx b/dashboard/starter-example/app/ui/customers/table.tsx index 9f0399c..fce2f55 100644 --- a/dashboard/starter-example/app/ui/customers/table.tsx +++ b/dashboard/starter-example/app/ui/customers/table.tsx @@ -1,7 +1,10 @@ import Image from 'next/image'; import { lusitana } from '@/app/ui/fonts'; import Search from '@/app/ui/search'; -import { FormattedCustomersTable } from '@/app/lib/definitions'; +import { + CustomersTableType, + FormattedCustomersTable, +} from '@/app/lib/definitions'; export default async function CustomersTable({ customers, diff --git a/dashboard/starter-example/app/ui/dashboard/latest-invoices.tsx b/dashboard/starter-example/app/ui/dashboard/latest-invoices.tsx index 6d00f77..27b74f6 100644 --- a/dashboard/starter-example/app/ui/dashboard/latest-invoices.tsx +++ b/dashboard/starter-example/app/ui/dashboard/latest-invoices.tsx @@ -2,7 +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 { LatestInvoice } from '@/app/lib/definitions'; export default async function LatestInvoices({ latestInvoices, }: { diff --git a/dashboard/starter-example/app/ui/dashboard/revenue-chart.tsx b/dashboard/starter-example/app/ui/dashboard/revenue-chart.tsx index 1936000..f19e698 100644 --- a/dashboard/starter-example/app/ui/dashboard/revenue-chart.tsx +++ b/dashboard/starter-example/app/ui/dashboard/revenue-chart.tsx @@ -1,6 +1,7 @@ import { generateYAxis } from '@/app/lib/utils'; import { CalendarIcon } from '@heroicons/react/24/outline'; import { lusitana } from '@/app/ui/fonts'; +import { Revenue } from '@/app/lib/definitions'; // This component is representational only. // For data visualization UI, check out: