fix PropTypes import from react package throwing warning

This commit is contained in:
cleverbeagle 2017-06-14 11:42:28 -05:00
parent 55903c8304
commit e9517bd80b
2 changed files with 4 additions and 2 deletions

View file

@ -1,4 +1,5 @@
import React, { PropTypes } from 'react';
import React from 'react';
import PropTypes from 'prop-types';
import { Route, Redirect } from 'react-router-dom';
const Authenticated = ({ loggingIn, authenticated, component, ...rest }) => (

View file

@ -1,4 +1,5 @@
import React, { PropTypes } from 'react';
import React from 'react';
import PropTypes from 'prop-types';
import { Route, Redirect } from 'react-router-dom';
const Public = ({ loggingIn, authenticated, component, ...rest }) => (