mirror of
https://github.com/apache/superset.git
synced 2026-04-24 10:35:01 +00:00
chore: remove React 16.4's obsolete React imports (#28571)
Signed-off-by: hainenber <dotronghai96@gmail.com>
This commit is contained in:
@@ -17,7 +17,8 @@
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
import React, { useCallback, useState } from 'react';
|
||||
import { useCallback, useState, FormEvent } from 'react';
|
||||
|
||||
import { Radio } from 'src/components/Radio';
|
||||
import { RadioChangeEvent, AsyncSelect } from 'src/components';
|
||||
import { Input } from 'src/components/Input';
|
||||
@@ -328,7 +329,7 @@ export const SaveDatasetModal = ({
|
||||
setSelectedDatasetToOverwrite(value);
|
||||
};
|
||||
|
||||
const handleDatasetNameChange = (e: React.FormEvent<HTMLInputElement>) => {
|
||||
const handleDatasetNameChange = (e: FormEvent<HTMLInputElement>) => {
|
||||
// @ts-expect-error
|
||||
setDatasetName(e.target.value);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user