Skip to content

Commit

Permalink
[fixed] errors in examples
Browse files Browse the repository at this point in the history
  • Loading branch information
vramana committed Jun 22, 2015
1 parent 277ba50 commit 5bd62b5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion examples/async-data/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ var Index = React.createClass({
React.render((
<Router history={new HashHistory} createElement={AsyncProps.createElement}>
<Route component={App}>
<Route path="/" component={Index}>
<Route path="/" component={Index}/>
<Route path="contact/:id" component={Contact}/>
</Route>
</Router>
Expand Down
3 changes: 1 addition & 2 deletions examples/huge-apps/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React from 'react';
import HashHistory from 'react-router/lib/HashHistory';
import { Router } from 'react-router';
import AsyncProps from 'react-router/lib/experimental/AsyncProps';
import stubbedCourses from './stubs/courses';
import stubbedCourses from './stubs/COURSES';

var rootRoute = {
path: '/',
Expand All @@ -25,4 +25,3 @@ React.render((
createElement={AsyncProps.createElement}
/>
), document.getElementById('example'));

0 comments on commit 5bd62b5

Please sign in to comment.