Add access prohibition for external links
parent
1e3e8707b2
commit
6456625716
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue