More tidying

This commit is contained in:
Matthew Stratford 2021-05-31 21:52:16 +01:00
parent e5bd90fbe3
commit d14acfa5ab

View file

@ -37,22 +37,6 @@ const sessionState = createSlice({
) { ) {
state.connectionState = action.payload; state.connectionState = action.payload;
}, },
/*
getTimeslotStarting(state) {
state.timeslotLoadError = null;
state.timeslotLoading = true;
},
getTimeslotSuccess(state, action: PayloadAction<Timeslot>) {
console.log("Getting timeslot succeeded.");
state.timeslotLoading = false;
state.timeslotLoadError = null;
state.currentTimeslot = action.payload;
},
getTimeslotError(state, action: PayloadAction<string>) {
state.timeslotLoading = false;
state.timeslotLoadError = action.payload;
},
*/
getState(state) { getState(state) {
return state; return state;
}, },