diff --git a/client/src/components/ErrorShow.js b/client/src/components/ErrorShow.js index f522b0b5..35f76e2e 100644 --- a/client/src/components/ErrorShow.js +++ b/client/src/components/ErrorShow.js @@ -1,4 +1,5 @@ -import React, { PropTypes } from 'react'; +import React from 'react'; +import PropTypes from 'prop-types'; const ErrorShow = ({ msg }) => ( diff --git a/client/src/components/Register.js b/client/src/components/Register.js index eaeba182..71f1650a 100644 --- a/client/src/components/Register.js +++ b/client/src/components/Register.js @@ -1,6 +1,7 @@ -import React, { PropTypes } from 'react'; +import React from 'react'; import { Link, withRouter } from 'react-router'; import Modal from 'react-modal'; +import PropTypes from 'prop-types'; import Terms from './Terms'; class Register extends React.Component {