mirror of
https://github.com/maputnik/editor.git
synced 2026-01-08 14:30:00 +00:00
Fixed more lint errors.
This commit is contained in:
@@ -55,7 +55,7 @@ class AddModal extends React.Component {
|
||||
}
|
||||
}
|
||||
|
||||
componentWillUpdate(nextProps, nextState) {
|
||||
UNSAFE_componentWillUpdate(nextProps, nextState) {
|
||||
// Check if source is valid for new type
|
||||
const oldType = this.state.type;
|
||||
const newType = nextState.type;
|
||||
|
||||
Reference in New Issue
Block a user