diff --git a/superset-frontend/plugins/plugin-chart-pivot-table/src/react-pivottable/TableRenderers.tsx b/superset-frontend/plugins/plugin-chart-pivot-table/src/react-pivottable/TableRenderers.tsx index c72c9bc11af..2acc8201987 100644 --- a/superset-frontend/plugins/plugin-chart-pivot-table/src/react-pivottable/TableRenderers.tsx +++ b/superset-frontend/plugins/plugin-chart-pivot-table/src/react-pivottable/TableRenderers.tsx @@ -27,7 +27,7 @@ import { useEffect, } from 'react'; import { safeHtmlSpan } from '@superset-ui/core'; -import { t } from '@apache-superset/core/ui'; +import { t } from '@apache-superset/core/translation'; import PropTypes from 'prop-types'; import { CaretUpOutlined, diff --git a/superset-frontend/plugins/plugin-chart-pivot-table/test/react-pivottable/tableRenders.test.tsx b/superset-frontend/plugins/plugin-chart-pivot-table/test/react-pivottable/tableRenders.test.tsx index be8d86b05ab..7d61a3aeecd 100644 --- a/superset-frontend/plugins/plugin-chart-pivot-table/test/react-pivottable/tableRenders.test.tsx +++ b/superset-frontend/plugins/plugin-chart-pivot-table/test/react-pivottable/tableRenders.test.tsx @@ -19,7 +19,7 @@ import '@testing-library/jest-dom'; import { render, screen } from '@testing-library/react'; -import { supersetTheme, ThemeProvider } from '@apache-superset/core/ui'; +import { supersetTheme, ThemeProvider } from '@apache-superset/core/theme'; import { TableRenderer } from '../../src/react-pivottable/TableRenderers'; import { aggregatorTemplates } from '../../src/react-pivottable/utilities';