summaryrefslogtreecommitdiffhomepage
path: root/packages/web/src/components/DiffView.tsx
diff options
context:
space:
mode:
authorDax Raad <[email protected]>2025-05-31 14:41:00 -0400
committerDax Raad <[email protected]>2025-05-31 14:41:00 -0400
commit3b746162d27a32a851aa257455042b5a86ec017c (patch)
tree94f7d24c39735d28f0fa17f726b02c2cfbc6266a /packages/web/src/components/DiffView.tsx
parent6df19f1828a0b98d476b2d0929aea67f61832717 (diff)
downloadopencode-3b746162d27a32a851aa257455042b5a86ec017c.tar.gz
opencode-3b746162d27a32a851aa257455042b5a86ec017c.zip
run formatter
Diffstat (limited to 'packages/web/src/components/DiffView.tsx')
-rw-r--r--packages/web/src/components/DiffView.tsx6
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",
})
}
}