Fixed more lint errors.

This commit is contained in:
orangemug
2018-05-17 11:46:33 +01:00
parent 77da0a6d30
commit d80d76724c
2 changed files with 3 additions and 1 deletions

View File

@@ -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;