feat - remove horizontal rule from git branch list (#12614)

This commit is contained in:
f0c1s 2022-04-07 21:48:14 +05:30 committed by GitHub
parent a9f82597b0
commit ecb6b4457e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -506,13 +506,13 @@ export default function BranchList(props: {
shouldScrollIntoView={activeHoverIndex === 0}
/>
)}
<SegmentHeader title={"Local branches"} />
<SegmentHeader hideStyledHr title={"Local branches"} />
{filteredBranches.map((branch: string, index: number) => (
<>
{getIsStartingWithRemoteBranches(
filteredBranches[index - 1],
branch,
) && <SegmentHeader title={"Remote branches"} />}
) && <SegmentHeader hideStyledHr title={"Remote branches"} />}
<BranchListItem
active={currentBranch === branch}
branch={branch}