diff options
Diffstat (limited to 'packages/web/src/components/DiffView.tsx')
| -rw-r--r-- | packages/web/src/components/DiffView.tsx | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/packages/web/src/components/DiffView.tsx b/packages/web/src/components/DiffView.tsx index 44feef140..4e864e06b 100644 --- a/packages/web/src/components/DiffView.tsx +++ b/packages/web/src/components/DiffView.tsx @@ -31,11 +31,7 @@ const DiffView: Component<DiffViewProps> = (props) => { diffRows.push({ left: chunk.removed ? line : chunk.added ? "" : line, right: chunk.added ? line : chunk.removed ? "" : line, - type: chunk.added - ? "added" - : chunk.removed - ? "removed" - : "unchanged", + type: chunk.added ? "added" : chunk.removed ? "removed" : "unchanged", }) } } |
