Skip to content

Commit

Permalink
[C-2759] Make donation link external (#3872)
Browse files Browse the repository at this point in the history
  • Loading branch information
dylanjeffers committed Aug 11, 2023
1 parent 15f056c commit a25fd19
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,11 @@ const SocialLink = ({
<Linkify
// https://github.com/Soapbox/linkifyjs/issues/292
// @ts-ignore
options={{ attributes: { onClick } }}
options={{
attributes: { onClick },
target: '_blank',
rel: 'noreferrer'
}}
>
{text}
</Linkify>
Expand Down

0 comments on commit a25fd19

Please sign in to comment.