Skip to content

Commit 652729a

Browse files
committed
cleanup
1 parent 81f7063 commit 652729a

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/components/Hero/CallToAction.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,15 @@ export const CallToAction = ({
1818
content,
1919
matomo,
2020
index,
21+
className,
2122
...props
2223
}: CallToActionProps) => {
2324
const handleClick = () => trackCustomEvent(matomo)
2425

2526
const buttonProps: ButtonProps = {
2627
variant: index === 0 ? "solid" : "outline",
2728
isSecondary: index !== 0,
28-
className: cn("flex-[1] md:flex-[initial]", props?.className),
29+
className: cn("flex-[1] md:flex-[initial]", className),
2930
}
3031

3132
return (

src/components/Hero/HubHero/index.tsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,8 @@ const HubHero = ({
6161
</Stack>
6262
<Stack
6363
className={cn(
64-
"h-fit flex-col gap-0 md:flex-row",
65-
"md:justify-center xl:justify-start",
66-
"gap-4"
64+
"flex-col gap-4 md:flex-row",
65+
"md:justify-center xl:justify-start"
6766
)}
6867
>
6968
{buttons?.map((button, idx) => {

0 commit comments

Comments
 (0)