Remove unused prop

This commit is contained in:
Marcus Blättermann 2022-11-30 01:27:44 +01:00
parent b305510227
commit c0fa92190c
No known key found for this signature in database
GPG Key ID: A1E1F04008AC450D

View File

@ -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,