This commit is contained in:
orangemug
2020-03-16 10:17:04 +00:00
parent 8f581956e8
commit f23f60807a
5 changed files with 54 additions and 51 deletions
+1 -2
View File
@@ -393,8 +393,7 @@ export default class App extends React.Component {
}
onUndo = () => {
let activeStyle;
activeStyle = this.revisionStore.undo()
const activeStyle = this.revisionStore.undo()
const messages = undoMessages(this.state.mapStyle, activeStyle)
this.onStyleChanged(activeStyle, {addRevision: false});