Use prop-types package instead of React.PropTypes.
This commit is contained in:
parent
024c14610b
commit
bfbd3b2319
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue