1
Fork 0
mirror of https://github.com/Steffo99/bluelib.git synced 2024-12-23 03:54:21 +00:00

🐛 Fix bug in Anchor

This commit is contained in:
Steffo 2021-07-20 02:21:51 +02:00
parent cbb7073e85
commit b94cc5ae51
Signed by: steffo
GPG key ID: 6965406171929D01

View file

@ -8,7 +8,7 @@ export default function Anchor({children, className, disabled, href, ...props})
className = useBluelibClassNames([`element-anchor`, disableClass(disabled)], [className]) className = useBluelibClassNames([`element-anchor`, disableClass(disabled)], [className])
return ( return (
<a href={disable(disabled, href)} {className} {...props}> <a href={disable(disabled, href)} className={className} {...props}>
{children} {children}
</a> </a>
) )