Skip to content

Commit

Permalink
Refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
EugeneTorap committed Jan 12, 2023
1 parent 2df0310 commit 603c8f0
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 35 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import {
ChartCreation,
ChartCreationProps,
ChartCreationState,
} from 'src/pages/ChartCreation/ChartCreation';
} from 'src/pages/ChartCreation';
import VizTypeGallery from 'src/explore/components/controls/VizTypeControl/VizTypeGallery';
import { act } from 'spec/helpers/testing-library';
import { UserWithPermissionsAndRoles } from 'src/types/bootstrapTypes';
Expand Down
2 changes: 1 addition & 1 deletion superset-frontend/src/pages/ChartList/ChartList.test.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ import userEvent from '@testing-library/user-event';
import { QueryParamProvider } from 'use-query-params';
import { act } from 'react-dom/test-utils';

import ChartList from 'src/pages/ChartList/ChartList';
import ChartList from 'src/pages/ChartList';
import ConfirmStatusChange from 'src/components/ConfirmStatusChange';
import ListView from 'src/components/ListView';
import PropertiesModal from 'src/explore/components/PropertiesModal';
Expand Down
28 changes: 0 additions & 28 deletions superset-frontend/src/pages/ChartList/types.ts

This file was deleted.

7 changes: 2 additions & 5 deletions superset-frontend/src/views/routes.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,7 @@ import Welcome from 'src/views/CRUD/welcome/Welcome';

const ChartCreation = lazy(
() =>
import(
/* webpackChunkName: "ChartCreation" */ 'src/pages/ChartCreation/ChartCreation'
),
import(/* webpackChunkName: "ChartCreation" */ 'src/pages/ChartCreation'),
);
const AnnotationLayersList = lazy(
() =>
Expand All @@ -46,8 +44,7 @@ const AnnotationList = lazy(
),
);
const ChartList = lazy(
() =>
import(/* webpackChunkName: "ChartList" */ 'src/pages/ChartList/ChartList'),
() => import(/* webpackChunkName: "ChartList" */ 'src/pages/ChartList'),
);
const CssTemplatesList = lazy(
() =>
Expand Down

0 comments on commit 603c8f0

Please sign in to comment.