Skip to content

Commit

Permalink
Fixed deviceReducer bug
Browse files Browse the repository at this point in the history
  • Loading branch information
jdpigeon committed Sep 19, 2020
1 parent 18c76b9 commit e172a4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/reducers/deviceReducer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit e172a4f

Please sign in to comment.