From d14acfa5abdd0834fa35456881bdd87ca848506f Mon Sep 17 00:00:00 2001 From: Matthew Stratford Date: Mon, 31 May 2021 21:52:16 +0100 Subject: [PATCH] More tidying --- src/bapsiclesession/state.ts | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/src/bapsiclesession/state.ts b/src/bapsiclesession/state.ts index c54d38b..461475c 100644 --- a/src/bapsiclesession/state.ts +++ b/src/bapsiclesession/state.ts @@ -37,22 +37,6 @@ const sessionState = createSlice({ ) { state.connectionState = action.payload; }, - /* - getTimeslotStarting(state) { - state.timeslotLoadError = null; - state.timeslotLoading = true; - }, - getTimeslotSuccess(state, action: PayloadAction) { - console.log("Getting timeslot succeeded."); - state.timeslotLoading = false; - state.timeslotLoadError = null; - state.currentTimeslot = action.payload; - }, - getTimeslotError(state, action: PayloadAction) { - state.timeslotLoading = false; - state.timeslotLoadError = action.payload; - }, -*/ getState(state) { return state; },