Skip to content

Commit 5bd62b5

Browse files
committed
[fixed] errors in examples
1 parent 277ba50 commit 5bd62b5

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

examples/async-data/app.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ var Index = React.createClass({
105105
React.render((
106106
<Router history={new HashHistory} createElement={AsyncProps.createElement}>
107107
<Route component={App}>
108-
<Route path="/" component={Index}>
108+
<Route path="/" component={Index}/>
109109
<Route path="contact/:id" component={Contact}/>
110110
</Route>
111111
</Router>

examples/huge-apps/app.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import React from 'react';
22
import HashHistory from 'react-router/lib/HashHistory';
33
import { Router } from 'react-router';
44
import AsyncProps from 'react-router/lib/experimental/AsyncProps';
5-
import stubbedCourses from './stubs/courses';
5+
import stubbedCourses from './stubs/COURSES';
66

77
var rootRoute = {
88
path: '/',
@@ -25,4 +25,3 @@ React.render((
2525
createElement={AsyncProps.createElement}
2626
/>
2727
), document.getElementById('example'));
28-

0 commit comments

Comments
 (0)