diff --git a/client/src/reducer/index.ts b/client/src/reducer/index.ts index 9299630..f21749f 100644 --- a/client/src/reducer/index.ts +++ b/client/src/reducer/index.ts @@ -156,7 +156,7 @@ export function multipleStateReducer(state: State, action: any): State { }, scheduleState: { ...state.scheduleState, - scheduleRecordsInfo: scheduleState.scheduleRecordsInfo, + scheduleRecordsInfo: scheduleState.scheduleRecordsInfo || {}, activeSchedule: scheduleState.activeSchedule } };