Skip to content

Commit e7c5489

Browse files
committed
Fixed Char import
1 parent 0349301 commit e7c5489

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/components/PRAnalyticsDashboard/ReviewsInsight/ActionDoneGraph.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { Bar } from 'react-chartjs-2';
22
import styles from './ReviewsInsight.module.css';
33
import { useSelector } from 'react-redux';
4-
import Chart from 'chart.js/auto';
4+
import { Chart } from 'chart.js';
55
import ChartDataLabels from 'chartjs-plugin-datalabels';
66

77
function ActionDoneGraph({ selectedTeams, teamData }) {

src/components/PRAnalyticsDashboard/ReviewsInsight/PRQualityGraph.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { Pie } from 'react-chartjs-2';
22
import styles from './ReviewsInsight.module.css';
33
import { useSelector } from 'react-redux';
4-
import Chart from 'chart.js/auto';
4+
import { Chart } from 'chart.js';
55
import ChartDataLabels from 'chartjs-plugin-datalabels';
66

77
Chart.register(ChartDataLabels);

0 commit comments

Comments
 (0)