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/project-admin/links/Table.js | |
parent | e8e323c872295d176016bd1dfcc3c7191b3de0e6 (diff) | |
download | sonarqube-e561d11d7d517fbe9f3e2cfac3af9d11fd0fbf56.tar.gz sonarqube-e561d11d7d517fbe9f3e2cfac3af9d11fd0fbf56.zip |
update react (#2288)
Diffstat (limited to 'server/sonar-web/src/main/js/apps/project-admin/links/Table.js')
-rw-r--r-- | server/sonar-web/src/main/js/apps/project-admin/links/Table.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/server/sonar-web/src/main/js/apps/project-admin/links/Table.js b/server/sonar-web/src/main/js/apps/project-admin/links/Table.js index a7358dbb26b..acc5cf5ec96 100644 --- a/server/sonar-web/src/main/js/apps/project-admin/links/Table.js +++ b/server/sonar-web/src/main/js/apps/project-admin/links/Table.js @@ -18,14 +18,15 @@ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ import React from 'react'; +import PropTypes from 'prop-types'; import LinkRow from './LinkRow'; import { orderLinks } from './utils'; import { translate } from '../../../helpers/l10n'; export default class Table extends React.PureComponent { static propTypes = { - links: React.PropTypes.array.isRequired, - onDelete: React.PropTypes.func.isRequired + links: PropTypes.array.isRequired, + onDelete: PropTypes.func.isRequired }; handleDeleteLink(link) { |