mirror of
https://github.com/desktop/desktop
synced 2024-10-31 05:19:03 +00:00
Fix diff line prefixes in side-by-side view
This commit is contained in:
parent
7517283d5d
commit
4d434f78e4
1 changed files with 2 additions and 2 deletions
|
@ -277,12 +277,12 @@ export class SideBySideDiffRow extends React.Component<
|
|||
>
|
||||
<div className={beforeClasses}>
|
||||
{this.renderLineNumber(lineNumber, DiffColumn.Before, isSelected)}
|
||||
{this.renderContent(row.data)}
|
||||
{this.renderContent(row.data, DiffRowPrefix.Deleted)}
|
||||
{this.renderWhitespaceHintPopover(DiffColumn.Before)}
|
||||
</div>
|
||||
<div className={afterClasses}>
|
||||
{this.renderLineNumber(undefined, DiffColumn.After)}
|
||||
{this.renderContentFromString('', [], DiffRowPrefix.Deleted)}
|
||||
{this.renderContentFromString('', [])}
|
||||
{this.renderWhitespaceHintPopover(DiffColumn.After)}
|
||||
</div>
|
||||
{this.renderHunkHandle()}
|
||||
|
|
Loading…
Reference in a new issue