Use prop-types package instead of React.PropTypes.

This commit is contained in:
Daniel Ternyak 2017-04-14 01:21:22 -05:00
parent 024c14610b
commit bfbd3b2319
1 changed files with 4 additions and 3 deletions

View File

@ -1,12 +1,13 @@
import React, {Component} from 'react'
import {Provider} from 'react-redux'
import {Router} from 'react-router'
import PropTypes from 'prop-types';
export default class Root extends Component {
static propTypes = {
store: React.PropTypes.object,
history: React.PropTypes.object,
routes: React.PropTypes.func
store: PropTypes.object,
history: PropTypes.object,
routes: PropTypes.func
};
authCheck(nextState, replace, callback) {