Skip to content

Commit 93b1e21

Browse files
committed
- Region Render Process not async
1 parent 8e260d0 commit 93b1e21

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/shio/ShPageLayout.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ export class ShPageLayout {
8585

8686
js = jsModules.concat(graphQL.pageLayouts[0].javascript);
8787
}
88-
let result = this.renderProcess(shContent, shObject, js, html);
88+
let result: string = this.renderProcess(shContent, shObject, js, html);
8989
return result;
9090
}
9191

src/shio/ShRegion.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,8 @@ export class ShRegion {
5252
js = jsModules.concat(graphQL.regions[0].javascript);
5353
debug(js);
5454
}
55-
return this.renderProcess(shContent, shObject, js, html);
55+
let result: string = this.renderProcess(shContent, shObject, js, html);
56+
return result;
5657
}
5758

5859
public renderProcess(shContent: any, shObject: any, js: string, html: string): string {

0 commit comments

Comments
 (0)