Skip to content

Commit

Permalink
Merge pull request #62 from emiliosheinz/dev
Browse files Browse the repository at this point in the history
chore: release new version
  • Loading branch information
emiliosheinz authored May 28, 2024
2 parents c2b3d49 + 9cb9012 commit 2b9d7de
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/components/card/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import { type Shelter } from "@prisma/client";
import { FaWhatsapp, FaFacebook, FaInstagram } from "react-icons/fa";
import { RiTwitterXLine } from "react-icons/ri";
import { unmaskPhone, unmaskSocialMedia } from "~/lib/masks";
import { Button } from "../ui/button";

type Props = {
shelter: Shelter;
Expand Down Expand Up @@ -121,12 +122,12 @@ function SocialLink({
label: string;
}) {
return (
<Link href={href}>
<div className="flex items-center space-x-1">
<Button asChild variant="link" className="h-min p-1">
<Link href={href}>
{icon}
<span className="sr-only">{label}</span>
</div>
</Link>
</Link>
</Button>
);
}

Expand Down

0 comments on commit 2b9d7de

Please sign in to comment.