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:
ISA
2025-02-25 10:11:02 +01:00
parent 4c55e9e9fa
commit cddb5e7a7f
4 changed files with 12 additions and 3 deletions

View File

@@ -115,7 +115,7 @@ const ChartSwitcher: React.FC<ChartSwitcherProps> = ({ isOpen, onClose }) => {
<h3 className="text-lg font-semibold">Schleifenmessung</h3>
<LoopChartActionBar />
<div style={{ flex: 1, height: "90%" }}>
<LoopMeasurementChart isFullScreen={isFullScreen} />
<LoopMeasurementChart />
</div>
</>
) : (
@@ -123,7 +123,7 @@ const ChartSwitcher: React.FC<ChartSwitcherProps> = ({ isOpen, onClose }) => {
<h3 className="text-lg font-semibold">TDR-Messung</h3>
<TDRChartActionBar />
<div style={{ flex: 1, height: "90%" }}>
<TDRChart isFullScreen={isFullScreen} />
<TDRChart />
</div>
</>
)}