From 974332602a2988872400c57dbde0b8d83f1f3d8d Mon Sep 17 00:00:00 2001
From: gabriellsh <40830821+gabriellsh@users.noreply.github.com>
Date: Tue, 7 Jun 2022 15:59:15 -0300
Subject: [PATCH] Fix imports (#25780)
---
apps/meteor/app/ui/client/index.ts | 2 --
apps/meteor/client/startup/routes.tsx | 5 +++--
2 files changed, 3 insertions(+), 4 deletions(-)
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(
-
+
,
);
},