Fix eslint warnings.
parent
ff47e38845
commit
ba8d899d5d
@ -1,8 +1,10 @@
|
||||
import * as React from 'react';
|
||||
import { pure } from 'recompose';
|
||||
|
||||
export const ExternalLink = pure((props: any) => (
|
||||
<a target="_blank" rel="noopener" {...props} />
|
||||
export const ExternalLink = pure(({children, ...props}: any) => (
|
||||
<a target="_blank" rel="noopener" {...props}>
|
||||
{children}
|
||||
</a>
|
||||
));
|
||||
|
||||
export default ExternalLink;
|
||||
|
Loading…
Reference in New Issue