Renamed folder file sue to build error

This commit is contained in:
Mitchell Magro 2025-12-29 20:44:14 +01:00
parent d7d4dfd73f
commit 0d7f8aef06
2 changed files with 3 additions and 3 deletions

View File

@ -47,7 +47,7 @@ const renderCustomizedLabel = ({
</text>
);
};
export const PieCharts = ({ data = defaultData }: IPieChartsProps) => {
export default function PieCharts({ data = defaultData }: IPieChartsProps) {
return (
<Box className="pie-charts">
<ResponsiveContainer width="100%" height="100%">
@ -73,4 +73,4 @@ export const PieCharts = ({ data = defaultData }: IPieChartsProps) => {
</ResponsiveContainer>
</Box>
);
};
}

View File

@ -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";