Skip to content

Commit c52bfc9

Browse files
authored
refactor(sidebar): remove PrBadge component (#14)
- Delete PrBadge component file - Remove PrBadge import and rendering in WorktreeGroupHeader
1 parent 4bbd029 commit c52bfc9

2 files changed

Lines changed: 0 additions & 62 deletions

File tree

src/renderer/views/MainView/parts/Sidebar/parts/PrBadge.tsx

Lines changed: 0 additions & 60 deletions
This file was deleted.

src/renderer/views/MainView/parts/Sidebar/parts/WorktreeGroupHeader.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import { FolderOpen, GitFork, TerminalSquare } from "lucide-react";
22
import { SidebarButton } from "@/renderer/components/common";
33
import { GitBadge } from "./GitBadge";
4-
import { PrBadge } from "./PrBadge";
54
import { SidebarPanelDragButton } from "./SidebarPanelDragButton";
65
import { SyncBadge } from "./SyncBadge";
76

@@ -75,7 +74,6 @@ export function WorktreeGroupHeader(props: {
7574
>
7675
<TerminalSquare className="size-3.5" />
7776
</SidebarPanelDragButton>
78-
<PrBadge worktreePath={props.worktreePath} />
7977
<SyncBadge projectId={props.projectId} worktreePath={props.worktreePath} />
8078
<GitBadge
8179
projectId={props.projectId}

0 commit comments

Comments
 (0)