File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ import React, { Component } from 'react'
4
4
import { createRouteFromReactElement } from './RouteUtils'
5
5
import { component , components , falsy } from './PropTypes'
6
6
7
- const { bool , func } = React . PropTypes
7
+ const { func } = React . PropTypes
8
8
9
9
/**
10
10
* An <IndexRoute> is used to specify its parent's <Route indexRoute> in
@@ -26,9 +26,9 @@ class IndexRoute extends Component {
26
26
27
27
static propTypes = {
28
28
path : falsy ,
29
- ignoreScrollBehavior : bool ,
30
29
component,
31
30
components,
31
+ getComponent : func ,
32
32
getComponents : func
33
33
}
34
34
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ import React, { Component } from 'react'
3
3
import { createRouteFromReactElement } from './RouteUtils'
4
4
import { component , components } from './PropTypes'
5
5
6
- const { string, bool , func } = React . PropTypes
6
+ const { string, func } = React . PropTypes
7
7
8
8
/**
9
9
* A <Route> is used to declare which components are rendered to the
@@ -21,9 +21,9 @@ class Route extends Component {
21
21
22
22
static propTypes = {
23
23
path : string ,
24
- ignoreScrollBehavior : bool ,
25
24
component,
26
25
components,
26
+ getComponent : func ,
27
27
getComponents : func
28
28
}
29
29
You can’t perform that action at this time.
0 commit comments