aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/app/components/nav/global/GlobalNavMenu.js
diff options
context:
space:
mode:
authorStas Vilchik <stas.vilchik@sonarsource.com>2017-07-25 13:18:52 +0200
committerGitHub <noreply@github.com>2017-07-25 13:18:52 +0200
commite561d11d7d517fbe9f3e2cfac3af9d11fd0fbf56 (patch)
tree594be45f13149d274e252d2a844733a12a25dc5b /server/sonar-web/src/main/js/app/components/nav/global/GlobalNavMenu.js
parente8e323c872295d176016bd1dfcc3c7191b3de0e6 (diff)
downloadsonarqube-e561d11d7d517fbe9f3e2cfac3af9d11fd0fbf56.tar.gz
sonarqube-e561d11d7d517fbe9f3e2cfac3af9d11fd0fbf56.zip
update react (#2288)
Diffstat (limited to 'server/sonar-web/src/main/js/app/components/nav/global/GlobalNavMenu.js')
-rw-r--r--server/sonar-web/src/main/js/app/components/nav/global/GlobalNavMenu.js9
1 files changed, 5 insertions, 4 deletions
diff --git a/server/sonar-web/src/main/js/app/components/nav/global/GlobalNavMenu.js b/server/sonar-web/src/main/js/app/components/nav/global/GlobalNavMenu.js
index 7d7437238bf..89053dedf89 100644
--- a/server/sonar-web/src/main/js/app/components/nav/global/GlobalNavMenu.js
+++ b/server/sonar-web/src/main/js/app/components/nav/global/GlobalNavMenu.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 { Link } from 'react-router';
import { translate } from '../../../../helpers/l10n';
import { getQualityGatesUrl } from '../../../../helpers/urls';
@@ -25,10 +26,10 @@ import { isMySet } from '../../../../apps/issues/utils';
export default class GlobalNavMenu extends React.PureComponent {
static propTypes = {
- appState: React.PropTypes.object.isRequired,
- currentUser: React.PropTypes.object.isRequired,
- location: React.PropTypes.shape({
- pathname: React.PropTypes.string.isRequired
+ appState: PropTypes.object.isRequired,
+ currentUser: PropTypes.object.isRequired,
+ location: PropTypes.shape({
+ pathname: PropTypes.string.isRequired
}).isRequired
};