Skip to content

Commit

Permalink
fix vertial spacing for hit counters and just inline the hashed path
Browse files Browse the repository at this point in the history
  • Loading branch information
nicholas-codecov committed Oct 29, 2024
1 parent 2f34e65 commit 2e19493
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,6 @@ function DiffRenderer({
if (overview?.coverageEnabled && overview?.bundleAnalysisEnabled) {
fullFilePath = `${fullFilePath}?dropdown=coverage`
}
const hashedPath = impactedFile?.hashedPath

return (
<>
Expand Down Expand Up @@ -113,7 +112,7 @@ function DiffRenderer({
key={segmentIndex}
code={segment?.newDiffContent}
fileName={fileDiff?.headName ?? ''}
hashedPath={hashedPath}
hashedPath={impactedFile?.hashedPath}
lineData={segment?.lineData}
/>
</Fragment>
Expand Down

0 comments on commit 2e19493

Please sign in to comment.