diff options
Diffstat (limited to 'server/sonar-web/src/main/js/apps/project-admin/links/Links.js')
-rw-r--r-- | server/sonar-web/src/main/js/apps/project-admin/links/Links.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/server/sonar-web/src/main/js/apps/project-admin/links/Links.js b/server/sonar-web/src/main/js/apps/project-admin/links/Links.js index e06a045a9aa..fede0404e07 100644 --- a/server/sonar-web/src/main/js/apps/project-admin/links/Links.js +++ b/server/sonar-web/src/main/js/apps/project-admin/links/Links.js @@ -18,6 +18,7 @@ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ import React from 'react'; +import PropTypes from 'prop-types'; import Helmet from 'react-helmet'; import { connect } from 'react-redux'; import Header from './Header'; @@ -29,8 +30,8 @@ import { translate } from '../../../helpers/l10n'; class Links extends React.PureComponent { static propTypes = { - component: React.PropTypes.object.isRequired, - links: React.PropTypes.array + component: PropTypes.object.isRequired, + links: PropTypes.array }; componentWillMount() { |