diff --git a/src/runtime/index.ts b/src/runtime/index.ts index b7144b2..c30a89d 100644 --- a/src/runtime/index.ts +++ b/src/runtime/index.ts @@ -60,7 +60,7 @@ function render(Component: ComponentConstructor, data: any, scroll: ScrollPositi component = new Component({ target, data, - hydrate: !!component + hydrate: !component }); if (scroll) { @@ -224,4 +224,4 @@ export function goto(href: string, opts = { replaceState: false }) { } else { window.location.href = href; } -} \ No newline at end of file +}