Add access prohibition for external links

master
rugk 2018-03-23 19:07:16 +01:00 committed by Tom Hacohen
parent 1e3e8707b2
commit 6456625716
1 changed files with 1 additions and 1 deletions

View File

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