Correct small typo regarding styled-components in DiffFile

This commit is contained in:
Florian Scholdei
2019-10-09 17:09:56 +02:00
parent eeb7e17b2d
commit 26be2f7480

View File

@@ -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)`