Skip to content

Commit d929196

Browse files
committed
Fix import in docs
1 parent acb0159 commit d929196

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/javascript/react-router.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ const ReactServerRenderer = (props, railsContext) => {
6161

6262
const { location } = railsContext;
6363

64-
const html = ReactDOMServer.renderToString(
64+
const html = renderToString(
6565
<Provider store={store}>
6666
<StaticRouter location={location} context={context} props={props}>
6767
<App />

0 commit comments

Comments
 (0)