mirror of
https://github.com/apache/superset.git
synced 2026-05-31 21:29:19 +00:00
chore: remove React 16.4's obsolete React imports (#28571)
Signed-off-by: hainenber <dotronghai96@gmail.com>
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
import React from 'react';
|
||||
import { Component } from 'react';
|
||||
import PropTypes from 'prop-types';
|
||||
import { Row, Col } from 'src/components';
|
||||
import { t } from '@superset-ui/core';
|
||||
@@ -47,7 +47,7 @@ const defaultProps = {
|
||||
choices: [],
|
||||
};
|
||||
|
||||
export default class SpatialControl extends React.Component {
|
||||
export default class SpatialControl extends Component {
|
||||
constructor(props) {
|
||||
super(props);
|
||||
const v = props.value || {};
|
||||
|
||||
Reference in New Issue
Block a user