diff --git a/src/helpers/RouteHelper.tsx b/src/helpers/RouteHelper.tsx index c6d97437..70f67d11 100644 --- a/src/helpers/RouteHelper.tsx +++ b/src/helpers/RouteHelper.tsx @@ -16,18 +16,18 @@ * * SPDX-License-Identifier: Apache-2.0 ********************************************************************************/ -import { lazy, ReactElement } from 'react'; +import { Logout } from '@mui/icons-material'; +import { ReactElement } from 'react'; -const ConsumeData = lazy(() => import('../pages/ConsumeData')); -const ConsumerContracts = lazy(() => import('../pages/ConsumerContracts')); -const CreateData = lazy(() => import('../pages/CreateData')); -const Help = lazy(() => import('../pages/Help')); -const Home = lazy(() => import('../pages/Home')); -const Logout = lazy(() => import('../pages/Logout')); -const PageNotFound = lazy(() => import('../pages/PageNotFound')); -const ProviderContracts = lazy(() => import('../pages/ProviderContracts')); -const UploadHistoryNew = lazy(() => import('../pages/UploadHistoryNew')); -const About = lazy(() => import('../pages/About')); +import About from '../pages/About'; +import ConsumeData from '../pages/ConsumeData'; +import ConsumerContracts from '../pages/ConsumerContracts'; +import CreateData from '../pages/CreateData'; +import Help from '../pages/Help'; +import Home from '../pages/Home'; +import PageNotFound from '../pages/PageNotFound'; +import ProviderContracts from '../pages/ProviderContracts'; +import UploadHistoryNew from '../pages/UploadHistoryNew'; export interface IRoutes { key?: string;