fix open sketch

pull/6/head 0.18.0
casperlamboo 5 years ago
parent 9996728f9c
commit b9ed59c8d9
  1. 2
      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');

Loading…
Cancel
Save