mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-10 07:25:44 +01:00
Correcz üassong prop into styled-component
This commit is contained in:
@@ -29,8 +29,7 @@ type State = {
|
||||
|
||||
const DiffFilePanel = styled.div`
|
||||
${props =>
|
||||
props.file &&
|
||||
props.file.isBinary && {
|
||||
props.isBinary && {
|
||||
borderBottom: "none"
|
||||
}};
|
||||
`;
|
||||
@@ -260,7 +259,10 @@ class DiffFile extends React.Component<Props, State> {
|
||||
? fileControlFactory(file, this.setCollapse)
|
||||
: null;
|
||||
return (
|
||||
<DiffFilePanel className={classNames("panel", "is-size-6")}>
|
||||
<DiffFilePanel
|
||||
className={classNames("panel", "is-size-6")}
|
||||
isBinary={file && file.isBinary}
|
||||
>
|
||||
<div className="panel-heading">
|
||||
<FlexWrapLevel className="level">
|
||||
<FullWidthTitleHeader
|
||||
|
||||
Reference in New Issue
Block a user