Skip to content

Commit

Permalink
chore: load all dashboard-related chunks
Browse files Browse the repository at this point in the history
Signed-off-by: David Kwon <[email protected]>
  • Loading branch information
dkwon17 committed Oct 27, 2023
1 parent ce115df commit 10b5e32
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions packages/dashboard-frontend/src/Routes/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,12 @@ import { Redirect, Route, RouteComponentProps, Switch } from 'react-router';
import { buildFactoryLoaderPath } from '@/preload/main';
import { ROUTE } from '@/Routes/routes';

const CreateWorkspace = React.lazy(() => import('../pages/GetStarted'));
const WorkspacesListContainer = React.lazy(() => import('../containers/WorkspacesList'));
const WorkspaceDetailsContainer = React.lazy(() => import('../containers/WorkspaceDetails'));
import WorkspaceDetailsContainer from '../containers/WorkspaceDetails';

Check failure on line 19 in packages/dashboard-frontend/src/Routes/index.tsx

View workflow job for this annotation

GitHub Actions / build-and-test (18.x)

import statements should have an absolute path

Check failure on line 19 in packages/dashboard-frontend/src/Routes/index.tsx

View workflow job for this annotation

GitHub Actions / build-and-test (20.x)

import statements should have an absolute path
import WorkspacesListContainer from '../containers/WorkspacesList';

Check failure on line 20 in packages/dashboard-frontend/src/Routes/index.tsx

View workflow job for this annotation

GitHub Actions / build-and-test (18.x)

import statements should have an absolute path

Check failure on line 20 in packages/dashboard-frontend/src/Routes/index.tsx

View workflow job for this annotation

GitHub Actions / build-and-test (20.x)

import statements should have an absolute path
import CreateWorkspace from '../pages/GetStarted';

Check failure on line 21 in packages/dashboard-frontend/src/Routes/index.tsx

View workflow job for this annotation

GitHub Actions / build-and-test (18.x)

import statements should have an absolute path

Check failure on line 21 in packages/dashboard-frontend/src/Routes/index.tsx

View workflow job for this annotation

GitHub Actions / build-and-test (20.x)

import statements should have an absolute path
import UserPreferences from '../pages/UserPreferences';

Check failure on line 22 in packages/dashboard-frontend/src/Routes/index.tsx

View workflow job for this annotation

GitHub Actions / build-and-test (18.x)

import statements should have an absolute path

Check failure on line 22 in packages/dashboard-frontend/src/Routes/index.tsx

View workflow job for this annotation

GitHub Actions / build-and-test (20.x)

import statements should have an absolute path

const LoaderContainer = React.lazy(() => import('../containers/Loader'));
const UserPreferences = React.lazy(() => import('../pages/UserPreferences'));
// temporary hidden, https://github.com/eclipse/che/issues/21595
// const UserAccount = React.lazy(() => import('../pages/UserAccount'));

Expand Down

0 comments on commit 10b5e32

Please sign in to comment.