@@ -103,7 +103,7 @@ function Title({ title, titleHTML, number, url, inEditMode, setEditMode, setCurr
103103}
104104
105105function ButtonGroup ( { isCurrentlyCheckedOut, canEdit, isIssue, repositoryDefaultBranch, setEditMode } ) {
106- const { refresh, copyPrLink , copyVscodeDevLink, openChanges } = useContext ( PullRequestContext ) ;
106+ const { refresh, copyVscodeDevLink, openChanges } = useContext ( PullRequestContext ) ;
107107
108108 return (
109109 < div className = "button-group" >
@@ -121,9 +121,6 @@ function ButtonGroup({ isCurrentlyCheckedOut, canEdit, isIssue, repositoryDefaul
121121 < button title = "Rename" onClick = { setEditMode } className = "secondary small-button" >
122122 Rename
123123 </ button >
124- < button title = "Copy GitHub pull request link" onClick = { copyPrLink } className = "secondary small-button" >
125- Copy Link
126- </ button >
127124 < button title = "Copy vscode.dev link for viewing this pull request in VS Code for the Web" onClick = { copyVscodeDevLink } className = "secondary small-button" >
128125 Copy vscode.dev Link
129126 </ button >
@@ -214,17 +211,14 @@ const CheckoutButtons = ({ isCurrentlyCheckedOut, isIssue, repositoryDefaultBran
214211 if ( isCurrentlyCheckedOut ) {
215212 return (
216213 < >
217- < button aria-live = "polite" className = "checkedOut small-button" disabled >
218- { checkIcon } { nbsp } Checked Out
219- </ button >
220214 < button
221215 aria-live = "polite"
222216 title = "Switch to a different branch than this pull request branch"
223217 disabled = { isBusy }
224218 className = 'small-button'
225219 onClick = { ( ) => onClick ( 'exitReviewMode' ) }
226220 >
227- Checkout '{ repositoryDefaultBranch } '
221+ { checkIcon } { nbsp } Checkout '{ repositoryDefaultBranch } '
228222 </ button >
229223 </ >
230224 ) ;
0 commit comments