mirror of
https://github.com/maputnik/editor.git
synced 2026-06-22 07:07:26 +00:00
Remove unused argument
This commit is contained in:
@@ -29,7 +29,7 @@ class JSONEditor extends React.Component {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
componentDidUpdate(prevProps, prevState) {
|
componentDidUpdate(prevProps) {
|
||||||
if (prevProps.layer !== this.props.layer) {
|
if (prevProps.layer !== this.props.layer) {
|
||||||
this.setState({
|
this.setState({
|
||||||
code: JSON.stringify(this.props.layer, null, 2)
|
code: JSON.stringify(this.props.layer, null, 2)
|
||||||
|
|||||||
Reference in New Issue
Block a user