File tree 2 files changed +4
-4
lines changed 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -102,7 +102,7 @@ function generate_client_manifest(manifest_data, base) {
102
102
103
103
export const routes = ${ routes } ;
104
104
105
- export const fallback = [c[0]() , c[1]() ];
105
+ export const fallback = [c[0], c[1]];
106
106
` ) ;
107
107
}
108
108
Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ function initial_fetch(resource, opts) {
60
60
export class Renderer {
61
61
/** @param {{
62
62
* Root: CSRComponent;
63
- * fallback: [CSRComponent, CSRComponent];
63
+ * fallback: [() => CSRComponent, () => CSRComponent];
64
64
* target: Node;
65
65
* session: any;
66
66
* host: string;
@@ -708,7 +708,7 @@ export class Renderer {
708
708
} ;
709
709
710
710
const node = await this . _load_node ( {
711
- module : await this . fallback [ 0 ] ,
711
+ module : await this . fallback [ 0 ] ( ) ,
712
712
page,
713
713
context : { }
714
714
} ) ;
@@ -718,7 +718,7 @@ export class Renderer {
718
718
await this . _load_node ( {
719
719
status,
720
720
error,
721
- module : await this . fallback [ 1 ] ,
721
+ module : await this . fallback [ 1 ] ( ) ,
722
722
page,
723
723
context : ( node && node . loaded && node . loaded . context ) || { }
724
724
} )
You can’t perform that action at this time.
0 commit comments