mirror of
https://github.com/kevin-DL/sapper.git
synced 2026-01-21 14:55:04 +00:00
Fix typo
This commit is contained in:
@@ -73,7 +73,7 @@ function prepare_route(Component: ComponentConstructor, data: RouteData) {
|
|||||||
return { Component, data };
|
return { Component, data };
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!component && window.__SAComponentPPER__ && window.__SAPPER__.preloaded) {
|
if (!component && window.__SAPPER__ && window.__SAPPER__.preloaded) {
|
||||||
return { Component, data: Object.assign(data, window.__SAPPER__.preloaded) };
|
return { Component, data: Object.assign(data, window.__SAPPER__.preloaded) };
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user