diff --git a/src/ui/views/RootView.ts b/src/ui/views/RootView.ts index e9e097e76dad77afcd24e15d9d601a180c89a23f..209090d8d95dac55dc23ebee2ce39c98ca0cc00e 100644 --- a/src/ui/views/RootView.ts +++ b/src/ui/views/RootView.ts @@ -25,6 +25,10 @@ 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() }); }