Skip to content

Commit

Permalink
fix: 462 Added nofollow in footer.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
HariniRajan397 authored and CharlieC3 committed Jun 28, 2021
1 parent 6ca3046 commit 8a97b96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const FooterLink: ForwardRefExoticComponentWithAs<FooterLinkProps, 'a'> = memoWi
forwardRefWithAs<FooterLinkProps, 'a'>(({ as = 'a', children, ...rest }, ref) => {
const externalProps =
rest.href && !rest.href.startsWith('/')
? { target: '_blank', rel: 'noopener noreferrer' }
? { target: '_blank', rel: 'noopener noreferrer nofollow' }
: {};

return (
Expand Down

0 comments on commit 8a97b96

Please sign in to comment.