diff --git a/client/src/pages/dashboard/components/charts/barChart.jsx b/client/src/pages/dashboard/components/charts/barChart.jsx index b0f408a..8d85fa5 100644 --- a/client/src/pages/dashboard/components/charts/barChart.jsx +++ b/client/src/pages/dashboard/components/charts/barChart.jsx @@ -53,12 +53,7 @@ const BarChart = ({ title, labels, datasets, ...props }) => { const data = { labels, - datasets: datasets?.map(dataset => ({ - ...dataset, - backgroundColor: 'rgba(54, 162, 235, 0.2)', - borderColor: 'rgb(54, 162, 235)' - - })) + datasets }; return ;