Skip to content

Commit

Permalink
refactor: Remove @mui/x-charts
Browse files Browse the repository at this point in the history
This will also make the tests succeed again
  • Loading branch information
tklein1801 committed Mar 31, 2024
1 parent 2094e3d commit 418412d
Show file tree
Hide file tree
Showing 11 changed files with 72 additions and 527 deletions.
120 changes: 0 additions & 120 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
"@emotion/styled": "^11.11.0",
"@mui/icons-material": "^5.14.15",
"@mui/material": "^5.14.15",
"@mui/x-charts": "^6.19.3",
"@mui/x-date-pickers": "^5.0.0-beta.4",
"@testing-library/react": "^14.1.0",
"@vercel/speed-insights": "^1.0.1",
Expand Down
2 changes: 1 addition & 1 deletion src/components/Base/Charts/ApexPieChart.component.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React from 'react';
import { useTheme, alpha, hexToRgb } from '@mui/material';
import Chart, { type Props } from 'react-apexcharts';
import { formatBalance } from '@/utils';
import { type TPieChartData } from './PieChart.component';
import { type TPieChartData } from './index';

export type TApexPieChartProps = Omit<Props, 'series'> & {
data: TPieChartData[];
Expand Down
69 changes: 0 additions & 69 deletions src/components/Base/Charts/MuiPieChart.component.tsx

This file was deleted.

19 changes: 0 additions & 19 deletions src/components/Base/Charts/PieCenterLabel.component.tsx

This file was deleted.

Loading

0 comments on commit 418412d

Please sign in to comment.