Skip to content

Commit 6d3bf37

Browse files
authored
Fix StaticRouter import. Fixes #8250
1 parent 85612d8 commit 6d3bf37

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/guides/ssr.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ Here's a simple express server that renders the app on the server. Note the use
5050
```js filename=server.entry.js
5151
import express from "express"
5252
import ReactDOMServer from "react-dom/server";
53-
import { StaticRouter } from "react-router-dom";
53+
import { StaticRouter } from "react-router-dom/server";
5454
import App from "./App";
5555

5656
let app = express();

0 commit comments

Comments
 (0)