mirror of
https://github.com/apache/superset.git
synced 2026-04-23 01:55:09 +00:00
Re-enable rule prefer-destructuring (only for objects) (#10867)
This commit is contained in:
committed by
GitHub
parent
c51168a30a
commit
352e8a1afd
@@ -74,7 +74,7 @@ export default class SpatialControl extends React.Component {
|
||||
this.onChange();
|
||||
}
|
||||
onChange() {
|
||||
const type = this.state.type;
|
||||
const { type } = this.state;
|
||||
const value = { type };
|
||||
const errors = [];
|
||||
const errMsg = t('Invalid lat/long configuration.');
|
||||
|
||||
Reference in New Issue
Block a user