diff options
Diffstat (limited to 'server/sonar-web/src/main/js/apps/projects-admin/projects.js')
-rw-r--r-- | server/sonar-web/src/main/js/apps/projects-admin/projects.js | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/server/sonar-web/src/main/js/apps/projects-admin/projects.js b/server/sonar-web/src/main/js/apps/projects-admin/projects.js index 847d2a5f702..0d0f59342ad 100644 --- a/server/sonar-web/src/main/js/apps/projects-admin/projects.js +++ b/server/sonar-web/src/main/js/apps/projects-admin/projects.js @@ -19,6 +19,7 @@ */ import classNames from 'classnames'; import React from 'react'; +import PropTypes from 'prop-types'; import { Link } from 'react-router'; import { getComponentPermissionsUrl } from '../../helpers/urls'; import ApplyTemplateView from '../permissions/project/views/ApplyTemplateView'; @@ -29,9 +30,9 @@ import { translate } from '../../helpers/l10n'; export default class Projects extends React.PureComponent { static propTypes = { - projects: React.PropTypes.array.isRequired, - selection: React.PropTypes.array.isRequired, - organization: React.PropTypes.object.isRequired + projects: PropTypes.array.isRequired, + selection: PropTypes.array.isRequired, + organization: PropTypes.object.isRequired }; componentWillMount() { |