259 B
259 B
🖥️ selectedDeviceSlice.js
Speichert das aktuell ausgewählte Gerät aus der Karte.
Zustand
null | { ...Gerät }
Aktionen
setSelectedDevice(device)clearSelectedDevice()
Speichert das aktuell ausgewählte Gerät aus der Karte.
null | { ...Gerät }
setSelectedDevice(device)clearSelectedDevice()