diff --git a/src/reducer/index.js b/src/reducer/index.js index fc9242a..88fa497 100644 --- a/src/reducer/index.js +++ b/src/reducer/index.js @@ -210,7 +210,7 @@ function sketcherReducer(state = initialState, action) { case actions.OPEN_SKETCH: let first = true; - const { spaces } = action.data; + const { spaces } = action.data.data; for (const space of spaces) { if (first) { if (!state.spaces.world) state = addSpaceActive(state, space.matrix, 'world');