mirror of
https://github.com/apache/superset.git
synced 2026-05-12 19:35:17 +00:00
feat(fe): upgrade superset-frontend to Typescript v5 (#31979)
Signed-off-by: hainenber <dotronghai96@gmail.com> Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
This commit is contained in:
@@ -277,7 +277,8 @@ export default function DataSourcePanel({
|
||||
};
|
||||
|
||||
const datasourceIsSaveable =
|
||||
datasource.type && saveableDatasets[datasource.type];
|
||||
datasource.type &&
|
||||
saveableDatasets[datasource.type as keyof typeof saveableDatasets];
|
||||
|
||||
const mainBody = useMemo(
|
||||
() => (
|
||||
|
||||
Reference in New Issue
Block a user