Skip to content

Commit

Permalink
Minor changes to code-splitting.md
Browse files Browse the repository at this point in the history
  • Loading branch information
jtibbertsma committed Nov 23, 2016
1 parent bb0a6aa commit 2e5ea27
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/additional-reading/code-splitting.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,13 +81,13 @@ const RouterAppRenderer = (props, railsContext, domNodeId) => {
throw error;
}

const component = (
const reactElement = (
<Provider store={store}>
<Router {...renderProps} />
</Provider>
);

ReactDOM.render(component, document.getElementById(domNodeId));
ReactDOM.render(reactElement, document.getElementById(domNodeId));
});
};

Expand Down

0 comments on commit 2e5ea27

Please sign in to comment.