From bfbd3b231907f88e07ec680c4fd236bafb315c34 Mon Sep 17 00:00:00 2001 From: Daniel Ternyak Date: Fri, 14 Apr 2017 01:21:22 -0500 Subject: [PATCH] Use prop-types package instead of React.PropTypes. --- common/components/Root/index.jsx | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/common/components/Root/index.jsx b/common/components/Root/index.jsx index d8bd81c7..8ba17b36 100644 --- a/common/components/Root/index.jsx +++ b/common/components/Root/index.jsx @@ -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) {