Skip to content

Commit

Permalink
removing href
Browse files Browse the repository at this point in the history
  • Loading branch information
TalBenAvi committed May 7, 2024
1 parent a9913ff commit a215f87
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions workspaces/website/src/components/Card/ImageIconCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -286,10 +286,8 @@ export const ImageIconCard = ({
</Text>
)}
{link && variant === "newsletter_card" && (
<ButtonGroup spacing="2" onClick={(e) => e.preventDefault()}>
<Button href={href} variant={buttonVariant}>
{label} &rarr;
</Button>
<ButtonGroup spacing="2">
<Button variant={buttonVariant}>{label} &rarr;</Button>
</ButtonGroup>
)}
</Stack>
Expand Down

0 comments on commit a215f87

Please sign in to comment.