diff --git a/apps/web/src/components/GitActionsControl.tsx b/apps/web/src/components/GitActionsControl.tsx index 57ca0ce55..491bd07ac 100644 --- a/apps/web/src/components/GitActionsControl.tsx +++ b/apps/web/src/components/GitActionsControl.tsx @@ -1245,36 +1245,38 @@ export default function GitActionsControl({ gitCwd, activeThreadId }: GitActions {openPullRequest && pullRequestMenuItems.length > 0 ? ( <> - PR #{openPullRequest.number} - {pullRequestMenuItems.map((item) => { - if (item.id === "open_in_browser") { - return ( - { - void openExistingPr(); - }} - > - - {item.label} - - ); - } - if (item.id === "copy_pr_number") { + + PR #{openPullRequest.number} + {pullRequestMenuItems.map((item) => { + if (item.id === "open_in_browser") { + return ( + { + void openExistingPr(); + }} + > + + {item.label} + + ); + } + if (item.id === "copy_pr_number") { + return ( + + + {item.label} + + ); + } return ( - - + + {item.label} ); - } - return ( - - - {item.label} - - ); - })} + })} + {gitActionMenuItems.length > 0 ? : null} ) : null}