Skip to content
This repository was archived by the owner on Jan 2, 2018. It is now read-only.

Commit 2835ffc

Browse files
authored
Merge pull request #59 from rocjs/fix/no-ssr
Assign default value in renderPage function
2 parents b21af0c + 50ffa0f commit 2835ffc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

extensions/roc-package-web-app-react/src/app/server/reactRenderer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ export function initRenderPage({ script, css }, distMode, devMode, Header) {
4545
reduxState = {},
4646
request,
4747
status,
48-
}) => {
48+
} = {}) => {
4949
const { dev, build, ...rest } = rocConfig; // eslint-disable-line
5050

5151
const rocConfigClient = distMode ? rest : { ...rest, dev };

0 commit comments

Comments
 (0)