WIP: analoge Eingänge von Slice bekommen

This commit is contained in:
Ismail Ali
2025-02-25 22:21:08 +01:00
parent 3162b7a9e1
commit bb098a4ccb
5 changed files with 9 additions and 10 deletions

View File

@@ -7,7 +7,7 @@ import {
} from "../../../../redux/slices/analogeEingaengeSlice";
export const useFetchAnalogeEingaenge = () => {
const dispatch = useAppDispatch(); // ✅ Verwende die App-Dispatch-Funktion
const dispatch = useAppDispatch(); // ✅ Verwende typisierten Dispatch
useEffect(() => {
dispatch(loadFromWindow()); // Initial Mock-Daten aus `window` laden