Updated to react-chartjs 4

This commit is contained in:
Alejandro Celaya
2022-05-02 11:35:05 +02:00
parent fd4295ade8
commit c516969686
5 changed files with 35 additions and 27 deletions

View File

@@ -6,6 +6,7 @@ import { container } from './container';
import { store } from './container/store';
import { fixLeafletIcons } from './utils/helpers/leaflet';
import { register as registerServiceWorker } from './serviceWorkerRegistration';
import 'chart.js/auto'; // TODO Import specific ones to reduce bundle size https://react-chartjs-2.js.org/docs/migration-to-v4/#tree-shaking
import 'react-datepicker/dist/react-datepicker.css';
import 'leaflet/dist/leaflet.css';
import './index.scss';