diff --git a/src/ui/views/RootView.ts b/src/ui/views/RootView.ts index 1d101a2069a12d720dbd4ed5cfc399c9c377012c..bae3b837b20afb32484735c4890288f372ab3430 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() }); - } -}