Fixed lint errors.

This commit is contained in:
orangemug 2020-03-30 09:57:14 +01:00
parent 61ba399e1c
commit ca7bf9f4a7
2 changed files with 6 additions and 0 deletions

View file

@ -102,6 +102,11 @@
"experimentalObjectRestSpread": true, "experimentalObjectRestSpread": true,
"jsx": true "jsx": true
} }
},
"settings": {
"react": {
"version": "detect"
}
} }
}, },
"devDependencies": { "devDependencies": {

View file

@ -10,6 +10,7 @@ class LayerIdBlock extends React.Component {
value: PropTypes.string.isRequired, value: PropTypes.string.isRequired,
wdKey: PropTypes.string.isRequired, wdKey: PropTypes.string.isRequired,
onChange: PropTypes.func.isRequired, onChange: PropTypes.func.isRequired,
error: PropTypes.object.isRequired,
} }
render() { render() {