Skip to content

Commit 5fc29df

Browse files
fix: external link will open in the same window (#1060)
Co-authored-by: Cody's Dad <[email protected]>%0ACo-authored-by: asyncapi-bot <[email protected]>
1 parent d7548c9 commit 5fc29df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/src/components/Href.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export const Href: React.FunctionComponent<Props> = ({
1515
}) => (
1616
<a
1717
href={href}
18-
title={title}
18+
title={title ? `${title} (Opens in new window)` : 'Opens in new window'}
1919
className={className}
2020
target="_blank"
2121
rel="nofollow noopener noreferrer"

0 commit comments

Comments
 (0)