Skip to content

Commit

Permalink
fix open sketch
Browse files Browse the repository at this point in the history
  • Loading branch information
casperlamboo committed Feb 15, 2018
1 parent 9996728 commit b9ed59c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/reducer/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down

0 comments on commit b9ed59c

Please sign in to comment.