mirror of
https://github.com/apache/superset.git
synced 2026-04-24 02:25:13 +00:00
[Codemod] Rename react unsafe lifecycles (#8143)
* [Codemod] Rename react unsafe lifecycles * Fix lint errors * [Codemod] Rename react unsafe lifecycles * Fix lint errors
This commit is contained in:
@@ -83,7 +83,7 @@ class AceEditorWrapper extends React.PureComponent {
|
||||
this.props.actions.queryEditorSetSelectedText(this.props.queryEditor, null);
|
||||
this.setAutoCompleter(this.props);
|
||||
}
|
||||
componentWillReceiveProps(nextProps) {
|
||||
UNSAFE_componentWillReceiveProps(nextProps) {
|
||||
if (!areArraysShallowEqual(this.props.tables, nextProps.tables) ||
|
||||
!areArraysShallowEqual(this.props.schemas, nextProps.schemas) ||
|
||||
!areArraysShallowEqual(this.props.extendedTables, nextProps.extendedTables)) {
|
||||
|
||||
Reference in New Issue
Block a user