diff options
Diffstat (limited to 'webapp/components/team_general_tab.jsx')
-rw-r--r-- | webapp/components/team_general_tab.jsx | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/webapp/components/team_general_tab.jsx b/webapp/components/team_general_tab.jsx index 0a71546e8..4886ba4fa 100644 --- a/webapp/components/team_general_tab.jsx +++ b/webapp/components/team_general_tab.jsx @@ -11,6 +11,8 @@ import Constants from 'utils/constants.jsx'; import {FormattedMessage} from 'react-intl'; import {updateTeam} from 'actions/team_actions.jsx'; +import PropTypes from 'prop-types'; + import React from 'react'; class GeneralTab extends React.Component { @@ -592,9 +594,9 @@ class GeneralTab extends React.Component { } GeneralTab.propTypes = { - updateSection: React.PropTypes.func.isRequired, - team: React.PropTypes.object.isRequired, - activeSection: React.PropTypes.string.isRequired + updateSection: PropTypes.func.isRequired, + team: PropTypes.object.isRequired, + activeSection: PropTypes.string.isRequired }; export default GeneralTab; |