File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -105,7 +105,7 @@ var Index = React.createClass({
105
105
React . render ( (
106
106
< Router history = { new HashHistory } createElement = { AsyncProps . createElement } >
107
107
< Route component = { App } >
108
- < Route path = "/" component = { Index } >
108
+ < Route path = "/" component = { Index } / >
109
109
< Route path = "contact/:id" component = { Contact } />
110
110
</ Route >
111
111
</ Router >
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ import React from 'react';
2
2
import HashHistory from 'react-router/lib/HashHistory' ;
3
3
import { Router } from 'react-router' ;
4
4
import AsyncProps from 'react-router/lib/experimental/AsyncProps' ;
5
- import stubbedCourses from './stubs/courses ' ;
5
+ import stubbedCourses from './stubs/COURSES ' ;
6
6
7
7
var rootRoute = {
8
8
path : '/' ,
@@ -25,4 +25,3 @@ React.render((
25
25
createElement = { AsyncProps . createElement }
26
26
/>
27
27
) , document . getElementById ( 'example' ) ) ;
28
-
You can’t perform that action at this time.
0 commit comments