Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
{
collapsedLines > 10 && (
)
}
);
}
const collapsedLines = getCollapsedLinesCountBetween(previousHunk, currentHunk);
if (!previousHunk) {
if (!collapsedLines) {
return null;
}
const start = Math.max(currentHunk.oldStart - 10, 1);
return (
<>
{
collapsedLines > 10 && (