File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,12 @@ init({
22
22
force : true
23
23
} )
24
24
25
- const RemoteTitle = lazy ( ( ) => loadRemote ( 'checkout/title' ) ) ;
25
+ const RemoteTitle = lazy ( ( ) => loadRemote ( 'checkout/title' ) . then ( ( c ) => {
26
+ if ( typeof c === 'function' ) {
27
+ return c ( )
28
+ }
29
+ return c
30
+ } ) ) ;
26
31
27
32
const Home = ( { loaded} ) => {
28
33
return (
Original file line number Diff line number Diff line change 5
5
"version" : " 0.0.0" ,
6
6
"scripts" : {
7
7
"preinstall" : " find . -name \" noexist\" -type d -prune -exec rm -rf '{}' +; pnpm install --ignore-scripts" ,
8
- "start" : " pnpm --parallel --filter nextjs-dynamic-ssr_* dev" ,
8
+ "start" : " pnpm --parallel --filter nextjs-dynamic-ssr_* dev" ,
9
9
"build" : " pnpm --parallel --filter nextjs-dynamic-ssr_* build" ,
10
10
"serve" : " pnpm --parallel --filter nextjs-dynamic-ssr_* start" ,
11
11
"e2e:ci" : " pnpm start & sleep 2 && wait-on tcp:3001 && wait-on tcp:3002 && wait-on tcp:3000 && npx cypress run --config-file ../cypress-e2e/config/cypress.config.ts --config '{\" supportFile\" : \" ../cypress-e2e/support/e2e.ts\" }' --spec \" ./e2e/*.cy.ts\" --browser=chrome"
You can’t perform that action at this time.
0 commit comments