diff options
Diffstat (limited to 'server/sonar-web/src/main/js/apps/project-admin/links/Header.js')
-rw-r--r-- | server/sonar-web/src/main/js/apps/project-admin/links/Header.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/server/sonar-web/src/main/js/apps/project-admin/links/Header.js b/server/sonar-web/src/main/js/apps/project-admin/links/Header.js index 9173d97c1aa..34faf7a76d4 100644 --- a/server/sonar-web/src/main/js/apps/project-admin/links/Header.js +++ b/server/sonar-web/src/main/js/apps/project-admin/links/Header.js @@ -18,12 +18,13 @@ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ import React from 'react'; +import PropTypes from 'prop-types'; import CreationModal from './views/CreationModal'; import { translate } from '../../../helpers/l10n'; export default class Header extends React.PureComponent { static propTypes = { - onCreate: React.PropTypes.func.isRequired + onCreate: PropTypes.func.isRequired }; handleCreateClick(e) { |