diff options
Diffstat (limited to 'server/sonar-web/src/main/js/components/shared/issues-link.js')
-rw-r--r-- | server/sonar-web/src/main/js/components/shared/issues-link.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/server/sonar-web/src/main/js/components/shared/issues-link.js b/server/sonar-web/src/main/js/components/shared/issues-link.js index 290ec84874c..e550faa81d4 100644 --- a/server/sonar-web/src/main/js/components/shared/issues-link.js +++ b/server/sonar-web/src/main/js/components/shared/issues-link.js @@ -21,10 +21,9 @@ import React from 'react'; import { getComponentIssuesUrl } from '../../helpers/urls'; - export const IssuesLink = React.createClass({ render() { - let url = getComponentIssuesUrl(this.props.component, this.props.params); + const url = getComponentIssuesUrl(this.props.component, this.props.params); return <a className={this.props.className} href={url}>{this.props.children}</a>; } }); |