aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/apps/sessions
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/apps/sessions
parente8e323c872295d176016bd1dfcc3c7191b3de0e6 (diff)
downloadsonarqube-e561d11d7d517fbe9f3e2cfac3af9d11fd0fbf56.tar.gz
sonarqube-e561d11d7d517fbe9f3e2cfac3af9d11fd0fbf56.zip
update react (#2288)
Diffstat (limited to 'server/sonar-web/src/main/js/apps/sessions')
-rw-r--r--server/sonar-web/src/main/js/apps/sessions/components/LoginFormContainer.js3
-rw-r--r--server/sonar-web/src/main/js/apps/sessions/components/Unauthorized.js3
2 files changed, 4 insertions, 2 deletions
diff --git a/server/sonar-web/src/main/js/apps/sessions/components/LoginFormContainer.js b/server/sonar-web/src/main/js/apps/sessions/components/LoginFormContainer.js
index 9208545732f..257f00a8259 100644
--- a/server/sonar-web/src/main/js/apps/sessions/components/LoginFormContainer.js
+++ b/server/sonar-web/src/main/js/apps/sessions/components/LoginFormContainer.js
@@ -19,6 +19,7 @@
*/
// @flow
import React from 'react';
+import PropTypes from 'prop-types';
import { connect } from 'react-redux';
import LoginForm from './LoginForm';
import { doLogin } from '../../../store/rootActions';
@@ -29,7 +30,7 @@ class LoginFormContainer extends React.PureComponent {
mounted: boolean;
static propTypes = {
- location: React.PropTypes.object.isRequired
+ location: PropTypes.object.isRequired
};
state = {};
diff --git a/server/sonar-web/src/main/js/apps/sessions/components/Unauthorized.js b/server/sonar-web/src/main/js/apps/sessions/components/Unauthorized.js
index 52f00e1b8f6..a8f98da3fd1 100644
--- a/server/sonar-web/src/main/js/apps/sessions/components/Unauthorized.js
+++ b/server/sonar-web/src/main/js/apps/sessions/components/Unauthorized.js
@@ -19,10 +19,11 @@
*/
// @flow
import React from 'react';
+import PropTypes from 'prop-types';
export default class Unauthorized extends React.PureComponent {
static propTypes = {
- location: React.PropTypes.object.isRequired
+ location: PropTypes.object.isRequired
};
render() {