fix: Build-Fehler behoben durch Entfernen unnötiger Prop-Weitergabe
- `isFullScreen` wurde in `ChartSwitcher.tsx` nicht mehr als Prop übergeben - `LoopMeasurementChart.tsx` und `TDRChart.tsx` nutzen Redux-Store direkt - Build erfolgreich nach Anpassung
This commit is contained in:
@@ -5,6 +5,10 @@ import { useSelector } from "react-redux";
|
||||
import { RootState } from "../../../../../../redux/store";
|
||||
import Chart from "chart.js/auto";
|
||||
import "chartjs-adapter-moment";
|
||||
// 🟢 **Prop-Typ für isFullScreen hinzufügen**
|
||||
interface LoopMeasurementChartProps {
|
||||
isFullScreen: boolean;
|
||||
}
|
||||
|
||||
const LoopMeasurementChart = () => {
|
||||
const isFullScreen = useSelector(
|
||||
|
||||
Reference in New Issue
Block a user