From 0d7f8aef068d363b2e12431b7aec3e06cf223a2e Mon Sep 17 00:00:00 2001 From: Mitchell Magro Date: Mon, 29 Dec 2025 20:44:14 +0100 Subject: [PATCH] Renamed folder file sue to build error --- app/features/PieCharts/PieCharts.tsx | 4 ++-- app/features/TransactionsOverview/TransactionsOverview.tsx | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/features/PieCharts/PieCharts.tsx b/app/features/PieCharts/PieCharts.tsx index 9a2d766..4abe27b 100644 --- a/app/features/PieCharts/PieCharts.tsx +++ b/app/features/PieCharts/PieCharts.tsx @@ -47,7 +47,7 @@ const renderCustomizedLabel = ({ ); }; -export const PieCharts = ({ data = defaultData }: IPieChartsProps) => { +export default function PieCharts({ data = defaultData }: IPieChartsProps) { return ( @@ -73,4 +73,4 @@ export const PieCharts = ({ data = defaultData }: IPieChartsProps) => { ); -}; +} diff --git a/app/features/TransactionsOverview/TransactionsOverview.tsx b/app/features/TransactionsOverview/TransactionsOverview.tsx index 84e9b2b..ec755b5 100644 --- a/app/features/TransactionsOverview/TransactionsOverview.tsx +++ b/app/features/TransactionsOverview/TransactionsOverview.tsx @@ -3,7 +3,7 @@ import { useEffect, useState } from "react"; import { useRouter } from "next/navigation"; import { Box, Button, IconButton, Paper, Typography } from "@mui/material"; -import { PieCharts } from "../PieCharts/PieCharts"; +import PieCharts from "../PieCharts/PieCharts"; import MoreVertIcon from "@mui/icons-material/MoreVert"; import { type ITransactionsOverviewData } from "@/app/services/types";