diff --git a/superset-frontend/src/features/semanticLayers/jsonFormsHelpers.tsx b/superset-frontend/src/features/semanticLayers/jsonFormsHelpers.tsx index 6b21e73e9ca..ced9992f427 100644 --- a/superset-frontend/src/features/semanticLayers/jsonFormsHelpers.tsx +++ b/superset-frontend/src/features/semanticLayers/jsonFormsHelpers.tsx @@ -17,7 +17,7 @@ * under the License. */ import { useEffect } from 'react'; -import { t } from '@apache-superset/core'; +import { t } from '@apache-superset/core/translation'; import { Spin } from 'antd'; import { withJsonFormsControlProps } from '@jsonforms/react'; import type { diff --git a/superset-frontend/src/features/semanticViews/AddSemanticViewModal.tsx b/superset-frontend/src/features/semanticViews/AddSemanticViewModal.tsx index 505eab8f18b..1658a4cac35 100644 --- a/superset-frontend/src/features/semanticViews/AddSemanticViewModal.tsx +++ b/superset-frontend/src/features/semanticViews/AddSemanticViewModal.tsx @@ -17,8 +17,8 @@ * under the License. */ import { useState, useEffect, useCallback, useRef } from 'react'; -import { t } from '@apache-superset/core'; -import { styled } from '@apache-superset/core/ui'; +import { t } from '@apache-superset/core/translation'; +import { styled } from '@apache-superset/core/theme'; import { SupersetClient } from '@superset-ui/core'; import { Checkbox, Spin } from 'antd'; import { Select } from '@superset-ui/core/components';