mirror of
https://github.com/kevin-DL/sapper.git
synced 2026-01-18 05:25:08 +00:00
Merge branch 'patch-1' of https://github.com/chexxor/sapper into chexxor-patch-1
This commit is contained in:
@@ -60,7 +60,7 @@ function render(Component: ComponentConstructor, data: any, scroll: ScrollPositi
|
|||||||
component = new Component({
|
component = new Component({
|
||||||
target,
|
target,
|
||||||
data,
|
data,
|
||||||
hydrate: !!component
|
hydrate: !component
|
||||||
});
|
});
|
||||||
|
|
||||||
if (scroll) {
|
if (scroll) {
|
||||||
|
|||||||
Reference in New Issue
Block a user