mirror of
https://github.com/kevin-DL/sapper.git
synced 2026-01-12 03:05:12 +00:00
Merge branch 'chexxor-patch-1'
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user