We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4d63d55 commit d65c43aCopy full SHA for d65c43a
packages/compass-data-modeling/src/store/diagram.ts
@@ -121,10 +121,7 @@ export const diagramReducer: Reducer<DiagramState> = (
121
...state,
122
edits: {
123
prev: [...state.edits.prev, state.edits.current],
124
- current: {
125
- ...state.edits.current,
126
- edits: [...state.edits.current, action.edit],
127
- },
+ current: [...state.edits.current, action.edit],
128
next: [],
129
},
130
};
0 commit comments