diff --git a/apps/meteor/app/ui/client/index.ts b/apps/meteor/app/ui/client/index.ts index cbb85f381965..5ff12f1ec9f4 100644 --- a/apps/meteor/app/ui/client/index.ts +++ b/apps/meteor/app/ui/client/index.ts @@ -6,8 +6,6 @@ import './lib/parentTemplate'; import './lib/codeMirror'; import './lib/textarea-cursor'; import './views/app/burger.html'; -import './views/app/home.html'; -import './views/app/notAuthorized.html'; import './views/app/roomSearch.html'; import './views/app/userSearch.html'; import './views/app/burger'; diff --git a/apps/meteor/client/startup/routes.tsx b/apps/meteor/client/startup/routes.tsx index 9400b4ac2070..4af555824ca3 100644 --- a/apps/meteor/client/startup/routes.tsx +++ b/apps/meteor/client/startup/routes.tsx @@ -11,6 +11,7 @@ import toastr from 'toastr'; import { KonchatNotification } from '../../app/ui/client'; import { APIClient } from '../../app/utils/client'; import { appLayout } from '../lib/appLayout'; +import { createTemplateForComponent } from '../lib/portals/createTemplateForComponent'; import { dispatchToastMessage } from '../lib/toast'; import { handleError } from '../lib/utils/handleError'; import BlazeTemplate from '../views/root/BlazeTemplate'; @@ -120,7 +121,7 @@ FlowRouter.route('/home', { appLayout.render( - + , ); }); @@ -130,7 +131,7 @@ FlowRouter.route('/home', { appLayout.render( - + , ); },