Skip to content

Commit b9ed59c

Browse files
committed
fix open sketch
1 parent 9996728 commit b9ed59c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/reducer/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ function sketcherReducer(state = initialState, action) {
210210

211211
case actions.OPEN_SKETCH:
212212
let first = true;
213-
const { spaces } = action.data;
213+
const { spaces } = action.data.data;
214214
for (const space of spaces) {
215215
if (first) {
216216
if (!state.spaces.world) state = addSpaceActive(state, space.matrix, 'world');

0 commit comments

Comments
 (0)