diff --git a/packages/app/src/git/diff-pane.tsx b/packages/app/src/git/diff-pane.tsx index 04d1c9470..c312ebdb2 100644 --- a/packages/app/src/git/diff-pane.tsx +++ b/packages/app/src/git/diff-pane.tsx @@ -842,37 +842,46 @@ const DiffFileHeader = memo(function DiffFileHeader({ return ( - - - - {file.path.split("/").pop()} - - - {file.path.includes("/") ? ` ${file.path.slice(0, file.path.lastIndexOf("/"))}` : ""} - - {file.isNew && ( - - New + + + + + + {file.path.split("/").pop()} + + + {file.path.includes("/") + ? ` ${file.path.slice(0, file.path.lastIndexOf("/"))}` + : ""} + + {file.isNew && ( + + New + + )} + {file.isDeleted && ( + + Deleted + + )} - )} - {file.isDeleted && ( - - Deleted + + - )} - - - - - + + + + {file.path} + + ); });