diff --git a/components/modules/Kue705FO.jsx b/components/modules/Kue705FO.jsx index 48d0e3f..997c32c 100644 --- a/components/modules/Kue705FO.jsx +++ b/components/modules/Kue705FO.jsx @@ -40,9 +40,7 @@ function Kue705FO({ const [isoGreaterThan200, setIsoGreaterThan200] = useState(">200 MOhm"); const [loading, setLoading] = useState(false); - const [currentDisplayValue, setCurrentDisplayValue] = useState( - schleifenwiderstand || "0" - ); + const [isoDisplayValue, setIsoDisplayValue] = useState(isolationswert); const [showModal, setShowModal] = useState(false); const [showChartModal, setShowChartModal] = useState(false); const [chartData, setChartData] = useState(null); @@ -355,7 +353,7 @@ function Kue705FO({ // Funktion zum Blinken des Textes oder Icons const setBlinkingText = (text) => { intervalId = setInterval(() => { - setCurrentDisplayValue((prevValue) => + setIsoDisplayValue((prevValue) => prevValue === text ? ( - {currentDisplayValue} + {isoDisplayValue} {kuePSTmMinus96V?.[slotIndex] !== 1 &&