File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -104,7 +104,8 @@ var Index = React.createClass({
104
104
105
105
React . render ( (
106
106
< Router history = { new HashHistory } createElement = { AsyncProps . createElement } >
107
- < Route path = "/" component = { App } indexComponent = { Index } >
107
+ < Route component = { App } >
108
+ < Route path = "/" component = { Index } >
108
109
< Route path = "contact/:id" component = { Contact } />
109
110
</ Route >
110
111
</ Router >
Original file line number Diff line number Diff line change @@ -151,7 +151,8 @@ var NotFound = React.createClass({
151
151
152
152
React . render ( (
153
153
< Router history = { new HashHistory } >
154
- < Route path = "/" component = { App } indexComponent = { Index } >
154
+ < Route component = { App } >
155
+ < Route path = "/" component = { Index } />
155
156
< Route path = "contact/new" component = { NewContact } />
156
157
< Route path = "contact/:id" component = { Contact } />
157
158
< Route path = "*" component = { NotFound } />
You can’t perform that action at this time.
0 commit comments