feat - remove horizontal rule from git branch list (#12614)
This commit is contained in:
parent
a9f82597b0
commit
ecb6b4457e
|
|
@ -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}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user