mirror of
https://github.com/explosion/spaCy.git
synced 2025-06-10 08:03:15 +03:00
Remove unused prop
This commit is contained in:
parent
b305510227
commit
c0fa92190c
|
@ -28,7 +28,6 @@ export default function Link({
|
||||||
to,
|
to,
|
||||||
href,
|
href,
|
||||||
onClick,
|
onClick,
|
||||||
activeClassName,
|
|
||||||
hidden = false,
|
hidden = false,
|
||||||
hideIcon = false,
|
hideIcon = false,
|
||||||
ws = false,
|
ws = false,
|
||||||
|
@ -66,12 +65,7 @@ export default function Link({
|
||||||
}
|
}
|
||||||
return (
|
return (
|
||||||
<Wrapper>
|
<Wrapper>
|
||||||
<NextLink
|
<NextLink href={dest} className={linkClassNames} {...other}>
|
||||||
href={dest}
|
|
||||||
className={linkClassNames}
|
|
||||||
activeClassName={activeClassName}
|
|
||||||
{...other}
|
|
||||||
>
|
|
||||||
{content}
|
{content}
|
||||||
</NextLink>
|
</NextLink>
|
||||||
</Wrapper>
|
</Wrapper>
|
||||||
|
@ -104,7 +98,6 @@ Link.propTypes = {
|
||||||
to: PropTypes.string,
|
to: PropTypes.string,
|
||||||
href: PropTypes.string,
|
href: PropTypes.string,
|
||||||
onClick: PropTypes.func,
|
onClick: PropTypes.func,
|
||||||
activeClassName: PropTypes.string,
|
|
||||||
hidden: PropTypes.bool,
|
hidden: PropTypes.bool,
|
||||||
hideIcon: PropTypes.bool,
|
hideIcon: PropTypes.bool,
|
||||||
ws: PropTypes.bool,
|
ws: PropTypes.bool,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user