Here you're making a copy of `this.props.payload.data.features`, mutating it, 
and then assigning it back to `payload` in line 107. Here you can simply do:

```javascript
let data = this.props.payload.data.features;
```

And then as you mutate it, `payload.data.features` is also mutated. This way 
you can simply pass the original payload to `getLayer`.

[ Full content available at: 
https://github.com/apache/incubator-superset/pull/5767 ]
This message was relayed via gitbox.apache.org for [email protected]

Reply via email to