diff options
author | Stas Vilchik <stas.vilchik@sonarsource.com> | 2017-07-25 13:18:52 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-07-25 13:18:52 +0200 |
commit | e561d11d7d517fbe9f3e2cfac3af9d11fd0fbf56 (patch) | |
tree | 594be45f13149d274e252d2a844733a12a25dc5b /server/sonar-web/src/main/js/apps/web-api/components | |
parent | e8e323c872295d176016bd1dfcc3c7191b3de0e6 (diff) | |
download | sonarqube-e561d11d7d517fbe9f3e2cfac3af9d11fd0fbf56.tar.gz sonarqube-e561d11d7d517fbe9f3e2cfac3af9d11fd0fbf56.zip |
update react (#2288)
Diffstat (limited to 'server/sonar-web/src/main/js/apps/web-api/components')
-rw-r--r-- | server/sonar-web/src/main/js/apps/web-api/components/WebApiApp.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/server/sonar-web/src/main/js/apps/web-api/components/WebApiApp.js b/server/sonar-web/src/main/js/apps/web-api/components/WebApiApp.js index a6dd2212369..ecd167948dc 100644 --- a/server/sonar-web/src/main/js/apps/web-api/components/WebApiApp.js +++ b/server/sonar-web/src/main/js/apps/web-api/components/WebApiApp.js @@ -19,6 +19,7 @@ */ // @flow import React from 'react'; +import PropTypes from 'prop-types'; import Helmet from 'react-helmet'; import { Link } from 'react-router'; import { fetchWebApi } from '../../../api/web-api'; @@ -187,5 +188,5 @@ export default class WebApiApp extends React.PureComponent { } WebApiApp.contextTypes = { - router: React.PropTypes.object.isRequired + router: PropTypes.object.isRequired }; |