Skip to content

Commit 9f6a583

Browse files
authored
Remove rel="noopener noreferrer" (#855)
1 parent a205ff8 commit 9f6a583

File tree

3 files changed

+1
-3
lines changed

3 files changed

+1
-3
lines changed

src/components/NotificationBell.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,6 @@ const NotificationBell = ({ notifications }) => {
9898
className={`notification-item ${!notification.read ? 'unread' : ''}`}
9999
onClick={(e) => handleNotificationClick(notification, e)}
100100
target={notification.isExternal ? '_blank' : '_self'}
101-
rel={notification.isExternal ? 'noopener noreferrer' : undefined}
102101
>
103102
{notification.message}
104103
</a>

src/components/Support/SupportDropdownMenu.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ const SupportDropdownMenu: React.FC = () => {
104104
const handleGitHubClick = (event: MouseEvent<HTMLAnchorElement>) => {
105105
event.preventDefault();
106106
if (githubIssueUrl !== "#") {
107-
window.open(githubIssueUrl, "_blank", "noopener,noreferrer");
107+
window.open(githubIssueUrl, "_blank");
108108
} else {
109109
console.error("GitHub issue URL is not set correctly.");
110110
}

src/theme/JavadocLink.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ export default function JavadocLink({ packageName, path, className }) {
2222
<a
2323
href={`https://javadoc.io/static/com.scalar-labs/${packageName}/${docsClassName}/${path}/${className}.html`}
2424
target="_blank"
25-
rel="noopener noreferrer"
2625
>
2726
{className}
2827
</a>

0 commit comments

Comments
 (0)