From d74663bf532c90eba7a00dd4540e29e70179f69f Mon Sep 17 00:00:00 2001
From: Adam <2363879+adamdotdevin@users.noreply.github.com>
Date: Tue, 25 Nov 2025 12:21:33 -0600
Subject: fix(share): don't highlight words unless split

---
 packages/ui/src/components/diff.tsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'packages/ui/src/components/diff.tsx')

diff --git a/packages/ui/src/components/diff.tsx b/packages/ui/src/components/diff.tsx
index e9747f25d..344ce3c8e 100644
--- a/packages/ui/src/components/diff.tsx
+++ b/packages/ui/src/components/diff.tsx
@@ -33,7 +33,7 @@ export function Diff<T>(props: DiffProps<T>) {
     diffIndicators: "bars",
     disableBackground: false,
     expansionLineCount: 20,
-    lineDiffType: "word-alt",
+    lineDiffType: props.diffStyle === "split" ? "word-alt" : "none",
     maxLineDiffLength: 1000,
     maxLineLengthForHighlighting: 1000,
     disableFileHeader: true,
-- 
cgit v1.2.3

