Fixed health bar chart build chartjs issue

This commit is contained in:
Frikky
2024-11-30 15:28:19 +01:00
parent ae30347303
commit d81f9d79b8
@@ -1,8 +1,5 @@
import React from 'react';
import { Bar } from 'react-chartjs-2';
import { Chart, registerables } from 'chart.js';
Chart.register(...registerables);
const HealthBarChart = (props) => {
const { globalUrl, filteredData, options, onBarClick } = props;