mirror of
https://github.com/maputnik/editor.git
synced 2026-08-24 22:17:25 +00:00
Tidy
This commit is contained in:
@@ -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});
|
||||
|
||||
Reference in New Issue
Block a user