From b9ed59c8d936a205ac3660fe6f23af66228d92bb Mon Sep 17 00:00:00 2001 From: casperlamboo Date: Thu, 15 Feb 2018 12:32:45 +0100 Subject: [PATCH] fix open sketch --- src/reducer/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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');