Skip to content

Commit

Permalink
docs: fix typo, mountElementId -> rootElement
Browse files Browse the repository at this point in the history
  • Loading branch information
sorrycc committed Jul 27, 2020
1 parent 5e83139 commit bfc2c9f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/docs/runtime-config.md
Expand Up @@ -22,7 +22,7 @@ let isSubApp = false;
export function modifyClientRenderOpts(memo) {
return {
...memo,
mountElementId: isSubApp ? 'sub-root' : memo.mountElementId,
rootElement: isSubApp ? 'sub-root' : memo.rootElement,
};
}
```
Expand Down
2 changes: 1 addition & 1 deletion docs/docs/runtime-config.zh-CN.md
Expand Up @@ -19,7 +19,7 @@ let isSubApp = false;
export function modifyClientRenderOpts(memo) {
return {
...memo,
mountElementId: isSubApp ? 'sub-root' : memo.mountElementId,
rootElement: isSubApp ? 'sub-root' : memo.rootElement,
};
}
```
Expand Down

0 comments on commit bfc2c9f

Please sign in to comment.