Fix bug: Undo multi element (#1461)
* Add failing test * Fix multi element undo * Update snapshots
This commit is contained in:
@ -266,7 +266,7 @@ class App extends React.Component<any, AppState> {
|
||||
}
|
||||
this.setState((state) => ({
|
||||
...res.appState,
|
||||
editingElement: editingElement || state.editingElement,
|
||||
editingElement: editingElement || res.appState?.editingElement || null,
|
||||
isCollaborating: state.isCollaborating,
|
||||
collaborators: state.collaborators,
|
||||
}));
|
||||
|
Reference in New Issue
Block a user