Skip to content

Commit f48a6aa

Browse files
committed
fix data example, need the name
1 parent 6c93099 commit f48a6aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/async-data/app.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ var Index = React.createClass({
112112
});
113113

114114
var routes = (
115-
<Route handler={App}>
115+
<Route name="contacts" path="/" handler={App}>
116116
<DefaultRoute name="index" handler={Index}/>
117117
<Route name="contact" path="contact/:id" handler={Contact}/>
118118
</Route>

0 commit comments

Comments
 (0)