diff --git a/media-store/app-src/src/components/Router.jsx b/media-store/app-src/src/components/Router.jsx index 0877250a..e0cf5d4f 100644 --- a/media-store/app-src/src/components/Router.jsx +++ b/media-store/app-src/src/components/Router.jsx @@ -12,15 +12,6 @@ import Login from './Login'; import { withRestrictions } from '../hocs/withRestrictions'; import { requireEmployee } from '../util/constants'; -// const TracksContainer = React.lazy(() => import('./TracksPage')); -// const Header = React.lazy(() => import('./Header')); -// const PersonPage = React.lazy(() => import('./PersonPage')); -// const ErrorPage = React.lazy(() => import('./ErrorPage')); -// const InvoicePage = React.lazy(() => import('./InvoicePage')); -// const ManageStore = React.lazy(() => import('./ManageStore')); -// const MyInvoicesPage = React.lazy(() => import('./MyInvoicesPage')); -// const Login = React.lazy(() => import('./Login')); - const RestrictedLogin = withRestrictions(Login, ({ user }) => !user); const RestrictedInvoicePage = withRestrictions( InvoicePage, @@ -36,7 +27,7 @@ const MyRouter = () => {