Skip to content
Snippets Groups Projects
Commit 46ae0324 authored by Midhun Suresh's avatar Midhun Suresh
Browse files

Remove dead code

parent 7feeab91
No related branches found
No related tags found
No related merge requests found
......@@ -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() });
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment