diff --git a/app/dashboard/expenses/page.tsx b/app/dashboard/expenses/page.tsx index 16edef2..8b24064 100644 --- a/app/dashboard/expenses/page.tsx +++ b/app/dashboard/expenses/page.tsx @@ -1,7 +1,6 @@ /* Copyright (C) 2024 Manuel Bustillo*/ import { lusitana } from '@/app/ui/fonts'; -import ExpenseSummary from '@/app/ui/expenses/summary'; import ExpensesTable from '@/app/ui/expenses/table'; export default function Page () { @@ -10,7 +9,6 @@ export default function Page () {

Expenses

Summary

-
diff --git a/app/dashboard/page.tsx b/app/dashboard/page.tsx index 643e65f..51c96c1 100644 --- a/app/dashboard/page.tsx +++ b/app/dashboard/page.tsx @@ -1,5 +1,9 @@ /* Copyright (C) 2024 Manuel Bustillo*/ +import GlobalSummary from '@/app/ui/dashboard/global-summary'; + export default function Page() { - return

Dashboard Page

; + return( + + ); } \ No newline at end of file diff --git a/app/ui/expenses/summary.tsx b/app/ui/dashboard/global-summary.tsx similarity index 97% rename from app/ui/expenses/summary.tsx rename to app/ui/dashboard/global-summary.tsx index d838c4b..9b00359 100644 --- a/app/ui/expenses/summary.tsx +++ b/app/ui/dashboard/global-summary.tsx @@ -2,7 +2,7 @@ import { MainCard, SecondaryCard } from '../components/dashboard-cards'; -export default async function ExpenseSummary() { +export default async function GlobalSummary() { return (