Skip to content

Commit

Permalink
Don't add a "read more" link
Browse files Browse the repository at this point in the history
  • Loading branch information
niik committed Dec 3, 2024
1 parent de6455e commit b29e6d5
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions app/src/ui/banners/update-available.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -94,19 +94,19 @@ export class UpdateAvailable extends React.Component<IUpdateAvailableProps> {
if (this.props.prioritizeUpdate) {
return (
<span onSubmit={this.updateNow}>
This version of GitHub Desktop is missing important updates. Please{' '}
This version of GitHub Desktop is missing{' '}
{this.props.prioritizeUpdateInfoUrl ? (
<LinkButton uri={this.props.prioritizeUpdateInfoUrl}>
important updates
</LinkButton>
) : (
'important updates'
)}
. Please{' '}
<LinkButton onClick={this.updateNow}>
restart GitHub Desktop
</LinkButton>{' '}
now to install pending updates.
{this.props.prioritizeUpdateInfoUrl && (
<>
{' '}
<LinkButton uri={this.props.prioritizeUpdateInfoUrl}>
Read more
</LinkButton>
</>
)}
</span>
)
}
Expand Down

0 comments on commit b29e6d5

Please sign in to comment.