mirror of
https://github.com/apache/superset.git
synced 2026-04-22 09:35:23 +00:00
chore: remove React 16.4's obsolete React imports (#28571)
Signed-off-by: hainenber <dotronghai96@gmail.com>
This commit is contained in:
@@ -18,14 +18,16 @@
|
||||
*/
|
||||
/* eslint-disable jsx-a11y/anchor-is-valid */
|
||||
/* eslint-disable jsx-a11y/no-static-element-interactions */
|
||||
import React, {
|
||||
import {
|
||||
useState,
|
||||
useEffect,
|
||||
useMemo,
|
||||
useRef,
|
||||
useCallback,
|
||||
ChangeEvent,
|
||||
FC,
|
||||
} from 'react';
|
||||
|
||||
import type AceEditor from 'react-ace';
|
||||
import useEffectEvent from 'src/hooks/useEffectEvent';
|
||||
import { CSSTransition } from 'react-transition-group';
|
||||
@@ -234,7 +236,7 @@ const elementStyle = (
|
||||
}px)`,
|
||||
});
|
||||
|
||||
const SqlEditor: React.FC<Props> = ({
|
||||
const SqlEditor: FC<Props> = ({
|
||||
queryEditor,
|
||||
defaultQueryLimit,
|
||||
maxRow,
|
||||
|
||||
Reference in New Issue
Block a user