WIP: TDR-Chart Anpassungen, Mock-Daten noch aktiv
This commit is contained in:
@@ -7,6 +7,7 @@ import TDRChartActionBar from "./TDRChart/TDRChartActionBar";
|
||||
import LoopMeasurementChart from "./LoopMeasurementChart/LoopMeasurementChart";
|
||||
import TDRChart from "./TDRChart/TDRChart";
|
||||
import { useSelector, useDispatch } from "react-redux";
|
||||
import { AppDispatch } from "../../../../../redux/store";
|
||||
import { RootState } from "../../../../../redux/store";
|
||||
import {
|
||||
setChartOpen,
|
||||
@@ -30,7 +31,7 @@ const ChartSwitcher: React.FC<ChartSwitcherProps> = ({
|
||||
onClose,
|
||||
slotIndex,
|
||||
}) => {
|
||||
const dispatch = useDispatch();
|
||||
const dispatch = useDispatch<AppDispatch>();
|
||||
|
||||
// **Redux-States für aktive Messkurve (TDR oder Schleife)**
|
||||
const activeMode = useSelector(
|
||||
|
||||
Reference in New Issue
Block a user