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({
104104
105105React . render ( (
106106 < Router history = { new HashHistory } createElement = { AsyncProps . createElement } >
107- < Route path = "/" component = { App } indexComponent = { Index } >
107+ < Route component = { App } >
108+ < Route path = "/" component = { Index } >
108109 < Route path = "contact/:id" component = { Contact } />
109110 </ Route >
110111 </ Router >
Original file line number Diff line number Diff line change @@ -151,7 +151,8 @@ var NotFound = React.createClass({
151151
152152React . render ( (
153153 < Router history = { new HashHistory } >
154- < Route path = "/" component = { App } indexComponent = { Index } >
154+ < Route component = { App } >
155+ < Route path = "/" component = { Index } />
155156 < Route path = "contact/new" component = { NewContact } />
156157 < Route path = "contact/:id" component = { Contact } />
157158 < Route path = "*" component = { NotFound } />
You can’t perform that action at this time.
0 commit comments