🔘 I dont want button to be a button

This commit is contained in:
Alicia Sykes 2021-07-30 19:40:57 +01:00
parent c016350402
commit 9503f68233

View File

@ -5,10 +5,8 @@ import './../styles/Button.scss';
export default function Button({ children, to, color }) {
return (
<Link to={to} className="button-link-wrapper">
<button className={clsx('button', color && 'color-btn', `btn-${color}`)}>
{children}
</button>
<Link to={to} className={clsx('button', color && 'color-btn', `btn-${color}`)}>
{children}
</Link>
);
}