Skip to content

Commit

Permalink
Fix proptypes import for React 16
Browse files Browse the repository at this point in the history
  • Loading branch information
wdoug committed Nov 18, 2017
1 parent 6af7916 commit c3701bf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion client/src/components/ErrorShow.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import React, { PropTypes } from 'react';
import React from 'react';
import PropTypes from 'prop-types';

const ErrorShow = ({ msg }) => (
<span>
Expand Down
3 changes: 2 additions & 1 deletion client/src/components/Register.js
Original file line number Diff line number Diff line change
@@ -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 {
Expand Down

0 comments on commit c3701bf

Please sign in to comment.