Skip to content

Commit

Permalink
fix: external link will open in the same window (#1060)
Browse files Browse the repository at this point in the history
Co-authored-by: Cody's Dad <[email protected]>%0ACo-authored-by: asyncapi-bot <[email protected]>
  • Loading branch information
ItshMoh and asyncapi-bot authored Oct 16, 2024
1 parent d7548c9 commit 5fc29df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/src/components/Href.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export const Href: React.FunctionComponent<Props> = ({
}) => (
<a
href={href}
title={title}
title={title ? `${title} (Opens in new window)` : 'Opens in new window'}
className={className}
target="_blank"
rel="nofollow noopener noreferrer"
Expand Down

0 comments on commit 5fc29df

Please sign in to comment.