mirror of
https://github.com/apache/superset.git
synced 2026-05-11 02:45:46 +00:00
Re-enable rule prefer-destructuring (only for objects) (#10867)
This commit is contained in:
committed by
GitHub
parent
c51168a30a
commit
352e8a1afd
@@ -37,7 +37,7 @@ export default class TextControl extends React.Component<TextControlProps> {
|
||||
this.onChange = this.onChange.bind(this);
|
||||
}
|
||||
onChange(event: any) {
|
||||
let value = event.target.value;
|
||||
let { value } = event.target;
|
||||
|
||||
// Validation & casting
|
||||
const errors = [];
|
||||
|
||||
Reference in New Issue
Block a user