Add access prohibition for external links

master
rugk 7 years ago committed by Tom Hacohen
parent 1e3e8707b2
commit 6456625716

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

Loading…
Cancel
Save