External link: also add noreferrer.

master
Tom Hacohen 4 years ago
parent 5b5b2f9cb4
commit fd0a83d6a2

@ -4,7 +4,7 @@
import * as React from 'react';
export const ExternalLink = React.memo(({ children, ...props }: any) => (
<a target="_blank" rel="noopener" {...props}>
<a target="_blank" rel="noopener noreferrer" {...props}>
{children}
</a>
));

Loading…
Cancel
Save