aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/apps/project-admin/links/LinkRow.js
diff options
context:
space:
mode:
Diffstat (limited to 'server/sonar-web/src/main/js/apps/project-admin/links/LinkRow.js')
-rw-r--r--server/sonar-web/src/main/js/apps/project-admin/links/LinkRow.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/server/sonar-web/src/main/js/apps/project-admin/links/LinkRow.js b/server/sonar-web/src/main/js/apps/project-admin/links/LinkRow.js
index 67313e188f4..ad0fcc33306 100644
--- a/server/sonar-web/src/main/js/apps/project-admin/links/LinkRow.js
+++ b/server/sonar-web/src/main/js/apps/project-admin/links/LinkRow.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 { isProvided, isClickable } from './utils';
import { translate } from '../../../helpers/l10n';
import BugTrackerIcon from '../../../components/ui/BugTrackerIcon';
export default class LinkRow extends React.PureComponent {
static propTypes = {
- link: React.PropTypes.object.isRequired,
- onDelete: React.PropTypes.func.isRequired
+ link: PropTypes.object.isRequired,
+ onDelete: PropTypes.func.isRequired
};
handleDeleteClick(e) {