aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/components/icons-components/BranchIcon.tsx
diff options
context:
space:
mode:
authorStas Vilchik <stas.vilchik@sonarsource.com>2017-08-29 11:38:53 +0200
committerStas Vilchik <stas.vilchik@sonarsource.com>2017-09-13 13:53:58 +0200
commit793e86fce66f356099792b7231c9a1d949ff875e (patch)
tree8bd08099539c3cb1ff159823ee1d1f74a5f2c979 /server/sonar-web/src/main/js/components/icons-components/BranchIcon.tsx
parent736e89cc1629e1e52db00f67e4650f1b88695de9 (diff)
downloadsonarqube-793e86fce66f356099792b7231c9a1d949ff875e.tar.gz
sonarqube-793e86fce66f356099792b7231c9a1d949ff875e.zip
update prettier
Diffstat (limited to 'server/sonar-web/src/main/js/components/icons-components/BranchIcon.tsx')
-rw-r--r--server/sonar-web/src/main/js/components/icons-components/BranchIcon.tsx8
1 files changed, 5 insertions, 3 deletions
diff --git a/server/sonar-web/src/main/js/components/icons-components/BranchIcon.tsx b/server/sonar-web/src/main/js/components/icons-components/BranchIcon.tsx
index a1b1a363b3d..62c4bf0d741 100644
--- a/server/sonar-web/src/main/js/components/icons-components/BranchIcon.tsx
+++ b/server/sonar-web/src/main/js/components/icons-components/BranchIcon.tsx
@@ -32,7 +32,9 @@ interface Props {
}
export default function BranchIcon({ branch, ...props }: Props) {
- return isShortLivingBranch(branch)
- ? <ShortLivingBranchIcon {...props} />
- : <LongLivingBranchIcon {...props} />;
+ return isShortLivingBranch(branch) ? (
+ <ShortLivingBranchIcon {...props} />
+ ) : (
+ <LongLivingBranchIcon {...props} />
+ );
}