From 26be2f74804d655669cb90c6f3c26aa1337d3be8 Mon Sep 17 00:00:00 2001 From: Florian Scholdei Date: Wed, 9 Oct 2019 17:09:56 +0200 Subject: [PATCH] Correct small typo regarding styled-components in DiffFile --- scm-ui/ui-components/src/repos/DiffFile.js | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/scm-ui/ui-components/src/repos/DiffFile.js b/scm-ui/ui-components/src/repos/DiffFile.js index 2037666a10..066cea5c6b 100644 --- a/scm-ui/ui-components/src/repos/DiffFile.js +++ b/scm-ui/ui-components/src/repos/DiffFile.js @@ -28,10 +28,7 @@ type State = { }; const DiffFilePanel = styled.div` - ${props => - props.isBinary && { - borderBottom: "none" - }}; + ${props => (props.isBinary ? "border-bottom: none" : "")}; `; const FlexWrapLevel = styled.div` @@ -58,7 +55,7 @@ const HunkDivider = styled.hr` `; const ChangeTypeTag = styled(Tag)` - marginleft: ".75rem"; + margin-left: ".75rem"; `; const ModifiedDiffComponent = styled(DiffComponent)`