aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/app/components/App.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'server/sonar-web/src/main/js/app/components/App.tsx')
-rw-r--r--server/sonar-web/src/main/js/app/components/App.tsx3
1 files changed, 1 insertions, 2 deletions
diff --git a/server/sonar-web/src/main/js/app/components/App.tsx b/server/sonar-web/src/main/js/app/components/App.tsx
index e1ba399c605..b7e22a74638 100644
--- a/server/sonar-web/src/main/js/app/components/App.tsx
+++ b/server/sonar-web/src/main/js/app/components/App.tsx
@@ -72,9 +72,8 @@ export class App extends React.PureComponent<Props> {
parser.href = this.props.gravatarServerUrl;
if (parser.hostname !== window.location.hostname) {
return <link href={parser.origin} rel="preconnect" />;
- } else {
- return null;
}
+ return null;
};
render() {