Skip to content

Commit 73db318

Browse files
committed
Fix initialState in context
1 parent ad9810e commit 73db318

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/server-entry.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export default context => {
1313
console.log(`data pre-fetch: ${Date.now() - s}ms`)
1414
// set initial store on context
1515
// the request handler will inline the state in the HTML response.
16-
context.initialState = store.state
16+
context.state = store.state
1717
return app
1818
})
1919
}

0 commit comments

Comments
 (0)