Skip to content

Commit

Permalink
Remove unnecessary content wrapping
Browse files Browse the repository at this point in the history
  • Loading branch information
tidy-dev committed Dec 17, 2024
1 parent 9b7d2ed commit d5562bf
Showing 1 changed file with 15 additions and 20 deletions.
35 changes: 15 additions & 20 deletions app/src/ui/banners/open-thank-you-card.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,26 +21,21 @@ export class OpenThankYouCard extends React.Component<
public render() {
return (
<Banner id="open-thank-you-card" onDismissed={this.props.onDismissed}>
<span onSubmit={this.props.onOpenCard}>
The Desktop team would like to thank you for your contributions.{' '}
<LinkButton onClick={this.props.onOpenCard}>
Open Your Card
</LinkButton>{' '}
<RichText
className="thank-you-banner-emoji"
text={':tada:'}
emoji={this.props.emoji}
renderUrlsAsLinks={true}
/>
or{' '}
<LinkButton onClick={this.onThrowCardAway}>Throw It Away</LinkButton>{' '}
<RichText
className="thank-you-banner-emoji"
text={':sob:'}
emoji={this.props.emoji}
renderUrlsAsLinks={true}
/>
</span>
The Desktop team would like to thank you for your contributions.{' '}
<LinkButton onClick={this.props.onOpenCard}>Open Your Card</LinkButton>{' '}
<RichText
className="thank-you-banner-emoji"
text={':tada:'}
emoji={this.props.emoji}
renderUrlsAsLinks={true}
/>
or <LinkButton onClick={this.onThrowCardAway}>Throw It Away</LinkButton>{' '}
<RichText
className="thank-you-banner-emoji"
text={':sob:'}
emoji={this.props.emoji}
renderUrlsAsLinks={true}
/>
</Banner>
)
}
Expand Down

0 comments on commit d5562bf

Please sign in to comment.