mirror of
https://github.com/a-nyx/maputnik-with-pmtiles.git
synced 2025-01-15 23:01:18 +01:00
Remove unused argument
This commit is contained in:
parent
b13b89c7ce
commit
1fbfa8428b
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue