diff --git a/apps/web/src/components/pullRequest/PullRequestCodeTab.tsx b/apps/web/src/components/pullRequest/PullRequestCodeTab.tsx index 59f40f95552837cad6bb7a16a1a00c4fe444919c..54cfc0258686660e2bf665e5fd973e38e2c4c474 100644 --- a/apps/web/src/components/pullRequest/PullRequestCodeTab.tsx +++ b/apps/web/src/components/pullRequest/PullRequestCodeTab.tsx @@ -38,7 +38,6 @@ import { orderDiffFiles } from "./pullRequestFileOrder.logic"; import { buildFileDiffRenderKey, fnv1a32, - getDiffLineStat, getRenderablePatch, resolveDiffThemeName, resolveFileDiffPath, @@ -546,7 +545,6 @@ function PullRequestCodeTab({ toggledFiles, ], ); - const lineStat = useMemo(() => getDiffLineStat(files), [files]); const omittedFileStats = useMemo( () => new Map( @@ -1040,7 +1038,7 @@ function PullRequestCodeTab({ {orderedCommits.length > 0 ? ( {scopeLabel} @@ -1089,7 +1087,7 @@ function PullRequestCodeTab({ ) : null} {/* One count, and the caveats as icons that carry their own words. Spelled out they competed for a strip this narrow and every one of them truncated to nothing. */} - + {files.length} {files.length === 1 ? "file" : "files"} {nextCursor === null ? "" : "+"} @@ -1124,11 +1122,6 @@ function PullRequestCodeTab({
- {fileKeys.length > 0 ? (