Browse Source

site: fix lint

pull/10677/merge
Wei Zhu 7 years ago
parent
commit
05c5115991
  1. 2
      site/theme/template/Content/EditButton.jsx

2
site/theme/template/Content/EditButton.jsx

@ -6,7 +6,7 @@ const branchUrl = 'https://github.com/ant-design/ant-design/edit/master/';
export default function EditButton({ title, filename }) { export default function EditButton({ title, filename }) {
return ( return (
<Tooltip title={title}> <Tooltip title={title}>
<a className="edit-button" href={`${branchUrl}${filename}`} target="_blank"> <a className="edit-button" href={`${branchUrl}${filename}`} target="_blank" rel="noopener noreferrer">
<Icon type="edit" /> <Icon type="edit" />
</a> </a>
</Tooltip> </Tooltip>

Loading…
Cancel
Save