diff --git a/src/state/reducers/windows.js b/src/state/reducers/windows.js index 597ba21112fe54eb027bee6829b3904319528ff6..8a08187677e67077b13efd5895d4dd9a639319da 100644 --- a/src/state/reducers/windows.js +++ b/src/state/reducers/windows.js @@ -90,10 +90,6 @@ export const windowsReducer = (state = {}, action) => { y: action.payload.size.y, }, }; - case ActionTypes.NEXT_CANVAS: - return setCanvasIndex(state, action.windowId, currentIndex => currentIndex + 1); - case ActionTypes.PREVIOUS_CANVAS: - return setCanvasIndex(state, action.windowId, currentIndex => currentIndex - 1); case ActionTypes.SET_CANVAS: return setCanvasIndex(state, action.windowId, currentIndex => action.canvasIndex); case ActionTypes.ADD_COMPANION_WINDOW: