diff --git a/src/components/dashboard/CategoryPieChart.tsx b/src/components/dashboard/CategoryPieChart.tsx index 40cde0a..2fe8195 100644 --- a/src/components/dashboard/CategoryPieChart.tsx +++ b/src/components/dashboard/CategoryPieChart.tsx @@ -37,7 +37,6 @@ export default function CategoryPieChart({ if (data.length === 0) { return (
-

{t("dashboard.expensesByCategory")}

{t("dashboard.noData")}

); @@ -45,8 +44,6 @@ export default function CategoryPieChart({ return (
-

{t("dashboard.expensesByCategory")}

- {hiddenCategories.size > 0 && (
{t("charts.hiddenCategories")}: diff --git a/src/pages/DashboardPage.tsx b/src/pages/DashboardPage.tsx index fa80d92..d484fbf 100644 --- a/src/pages/DashboardPage.tsx +++ b/src/pages/DashboardPage.tsx @@ -127,13 +127,16 @@ export default function DashboardPage() {
- +
+

{t("dashboard.expensesByCategory")}

+ +

{t("dashboard.budgetVsActual")}