From 46ae03243b3c87a3afa41bb6130731258c0829b5 Mon Sep 17 00:00:00 2001
From: Midhun Suresh <midhunr@element.io>
Date: Mon, 31 Jan 2022 16:52:26 +0530
Subject: [PATCH] Remove dead code

---
 src/ui/views/RootView.ts | 13 -------------
 1 file changed, 13 deletions(-)

diff --git a/src/ui/views/RootView.ts b/src/ui/views/RootView.ts
index 1d101a2..bae3b83 100644
--- a/src/ui/views/RootView.ts
+++ b/src/ui/views/RootView.ts
@@ -12,8 +12,6 @@ export class RootView extends TemplateView<RootViewModel> {
         return t.mapView(vm => vm.activeSection, section => {
             (window as any).sendViewChangeToParent(section);
             switch(section) {
-                case "start":
-                    return new StartView(vm);
                 case "account-setup":
                     return new AccountSetupView(vm.accountSetupViewModel);
                 case "timeline":
@@ -23,14 +21,3 @@ export class RootView extends TemplateView<RootViewModel> {
         })
     }
 }
-
-
-class StartView extends TemplateView<RootViewModel> {
-    constructor(value) {
-        super(value);
-    }
-
-    render(t, vm: RootViewModel) {
-        return t.button({ className: "StartChat", onClick: () => vm.start() });
-    }
-}
-- 
GitLab