Remove unused argument

This commit is contained in:
pathmapper 2019-03-07 13:47:53 +01:00
parent b13b89c7ce
commit 1fbfa8428b

View file

@ -29,7 +29,7 @@ class JSONEditor extends React.Component {
}
}
componentDidUpdate(prevProps, prevState) {
componentDidUpdate(prevProps) {
if (prevProps.layer !== this.props.layer) {
this.setState({
code: JSON.stringify(this.props.layer, null, 2)