diff --git a/components/modules/Kue705FO.jsx b/components/modules/Kue705FO.jsx index a504b55..f839678 100644 --- a/components/modules/Kue705FO.jsx +++ b/components/modules/Kue705FO.jsx @@ -391,6 +391,13 @@ function Kue705FO({ console.log(`Modulname aktualisiert für Slot ${slotIndex}:`, modulName); }, [modulName, slotIndex]); //--------------------------------------------------- + // Aktualisiert den Schleifenwiderstand, wenn sich der `schleifenwiderstand`-Prop ändert + useEffect(() => { + if (activeButton === "Schleife") { + setLoopDisplayValue(schleifenwiderstand); + } + }, [schleifenwiderstand, activeButton]); + //--------------------------------------------------- return (
{kueOnline === 1 ? (