From e172a4f8171288ae760f586f105bd3a969401a36 Mon Sep 17 00:00:00 2001 From: Dano Morrison Date: Sat, 19 Sep 2020 14:31:44 -0400 Subject: [PATCH] Fixed deviceReducer bug --- app/reducers/deviceReducer.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/reducers/deviceReducer.ts b/app/reducers/deviceReducer.ts index a887e5a9..fe39fca0 100644 --- a/app/reducers/deviceReducer.ts +++ b/app/reducers/deviceReducer.ts @@ -27,7 +27,7 @@ export interface DeviceStateType { const initialState: DeviceStateType = { availableDevices: [], - connectedDevice: { name: 'disconnected', samplingRate: 0 }, + connectedDevice: { name: 'disconnected', samplingRate: 0, channels: [] }, connectionStatus: CONNECTION_STATUS.NOT_YET_CONNECTED, deviceAvailability: DEVICE_AVAILABILITY.NONE, rawObservable: null,