diff options
Diffstat (limited to 'src/view/form.ts')
-rw-r--r-- | src/view/form.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/view/form.ts b/src/view/form.ts index 0b04cfb..b0d5827 100644 --- a/src/view/form.ts +++ b/src/view/form.ts @@ -32,7 +32,7 @@ export function view(config: Config.Config, showPage: (route: Router.Route) => v { className: 'g-Form' , onsubmit: (e: Event) => { e.preventDefault() - const timerRoute = { kind: Router.Kind.Timer, config } + const timerRoute: Router.Route = { name: 'timer', config } history.pushState({}, '', Router.toString(timerRoute)) showPage(timerRoute) }}, |