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;