diff --git a/src/components/elements/button.tsx b/src/components/elements/button.tsx index 86560911..cf4809f6 100644 --- a/src/components/elements/button.tsx +++ b/src/components/elements/button.tsx @@ -65,7 +65,7 @@ export const Button = ({ big && secondary, "btn bg-digital-red font-normal text-white border-2 border-white hocus:outline hocus:outline-3 hocus:outline-digital-red py-4 px-8 no-underline hocus:underline transition rounded-full m-4": !big && !secondary, - }); + }) if (!href || buttonElem) { return ( @@ -76,7 +76,7 @@ export const Button = ({ > {children} - ); + ) } return ( @@ -88,7 +88,7 @@ export const Button = ({ {children} - ); -}; + ) +} export default Button