Skip to content

Commit 9eca17a

Browse files
committed
Fix Server Rending Docs
Closes #1705
1 parent 034ba8a commit 9eca17a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/02 Top-Level/Router.run.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ Server Rendering
133133
something.serve(function (req, res) {
134134
Router.run(routes, req.path, function (Root, state) {
135135
// could fetch data like in the previous example
136-
fetchData(state.matches).then(function (data) {
136+
fetchData(state.routes).then(function (data) {
137137
var html = React.renderToString(<Root data={data} />);
138138
res.send(html);
139139
});

0 commit comments

Comments
 (0)