Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions modules/IndexRoute.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import React, { Component } from 'react'
import { createRouteFromReactElement } from './RouteUtils'
import { component, components, falsy } from './PropTypes'

const { bool, func } = React.PropTypes
const { func } = React.PropTypes

/**
* An <IndexRoute> is used to specify its parent's <Route indexRoute> in
Expand All @@ -26,9 +26,9 @@ class IndexRoute extends Component {

static propTypes = {
path: falsy,
ignoreScrollBehavior: bool,
component,
components,
getComponent: func,
getComponents: func
}

Expand Down
4 changes: 2 additions & 2 deletions modules/Route.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import React, { Component } from 'react'
import { createRouteFromReactElement } from './RouteUtils'
import { component, components } from './PropTypes'

const { string, bool, func } = React.PropTypes
const { string, func } = React.PropTypes

/**
* A <Route> is used to declare which components are rendered to the
Expand All @@ -21,9 +21,9 @@ class Route extends Component {

static propTypes = {
path: string,
ignoreScrollBehavior: bool,
component,
components,
getComponent: func,
getComponents: func
}

Expand Down