Skip to content

Commit 82eeb70

Browse files
committed
Fix /
1 parent 1b1a62b commit 82eeb70

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

modules/components/Routes.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -175,15 +175,15 @@ var Routes = React.createClass({
175175
mixins: [ RouteContext, ActiveContext, LocationContext, ScrollContext ],
176176

177177
propTypes: {
178-
initialPath: React.PropTypes.string.isRequired,
179-
initialMatches: React.PropTypes.array.isRequired,
178+
initialPath: React.PropTypes.string,
179+
initialMatches: React.PropTypes.array,
180180
onChange: React.PropTypes.func,
181181
onError: React.PropTypes.func
182182
},
183183

184184
getDefaultProps: function () {
185185
return {
186-
initialPath: '/',
186+
initialPath: null,
187187
initialMatches: []
188188
};
189189
},

0 commit comments

Comments
 (0)