mirror of
https://github.com/maputnik/editor.git
synced 2026-01-04 20:40:01 +00:00
Take advantage of transform-class-properties and use arrow functions instead of bind
This commit is contained in:
@@ -15,10 +15,6 @@ class SettingsModal extends React.Component {
|
||||
onOpenToggle: PropTypes.func.isRequired,
|
||||
}
|
||||
|
||||
constructor(props) {
|
||||
super(props);
|
||||
}
|
||||
|
||||
changeStyleProperty(property, value) {
|
||||
const changedStyle = {
|
||||
...this.props.mapStyle,
|
||||
|
||||
Reference in New Issue
Block a user