Update package versions and refactor components for improved functionality and readability
This commit is contained in:
@@ -3,7 +3,7 @@ import { Line } from "react-chartjs-2";
|
||||
import { Chart as ChartJS, LineElement, CategoryScale, LinearScale, PointElement } from "chart.js";
|
||||
import { PowerIcon, ProductionCapacityIcon } from "../../icons/analysis";
|
||||
import SkeletonUI from "../../templates/SkeletonUI";
|
||||
import { useInputValues, useMachineUptime, useProductionCapacityData, useThroughPutData } from "../../../store/builder/store";
|
||||
import { useInputValues, useMachineUptime, useProductionCapacityData } from "../../../store/builder/store";
|
||||
|
||||
ChartJS.register(LineElement, CategoryScale, LinearScale, PointElement);
|
||||
|
||||
@@ -28,7 +28,6 @@ const ThroughputSummary: React.FC = () => {
|
||||
];
|
||||
|
||||
const { productionCapacityData } = useProductionCapacityData();
|
||||
const { throughputData: data } = useThroughPutData();
|
||||
|
||||
const chartOptions = {
|
||||
responsive: true,
|
||||
|
||||
Reference in New Issue
Block a user