From 76ee9467df2201611cad2635f7f57b61493e948e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Pfeuffer?= Date: Wed, 10 Jun 2020 12:04:51 +0200 Subject: [PATCH] Fix formatting --- scm-ui/ui-components/src/repos/HunkExpandLink.tsx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/scm-ui/ui-components/src/repos/HunkExpandLink.tsx b/scm-ui/ui-components/src/repos/HunkExpandLink.tsx index 7779519f55..dfff80160c 100644 --- a/scm-ui/ui-components/src/repos/HunkExpandLink.tsx +++ b/scm-ui/ui-components/src/repos/HunkExpandLink.tsx @@ -43,7 +43,11 @@ const HunkExpandLink: FC = ({ icon, text, onClick }) => { onClick().then(() => setLoading(false)); }; - return {" "}{loading? t("diff.expanding"): text}; + return ( + + {loading ? t("diff.expanding") : text} + + ); }; export default HunkExpandLink;