Skip to content

Commit 69e22f4

Browse files
committed
use new button link component
1 parent 2231780 commit 69e22f4

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/components/ProductCard.tsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,9 @@ import { useTranslation } from "next-i18next"
33
import type { ReactNode } from "react"
44
import { Badge } from "@chakra-ui/react"
55

6-
import { ButtonLink } from "@/components/Buttons"
7-
86
import { cn } from "@/lib/utils/cn"
97

8+
import { ButtonLink } from "./ui/buttons/Button"
109
import { Center, Flex, HStack } from "./ui/flex"
1110
import GitStars from "./GitStars"
1211
import { TwImage } from "./Image"
@@ -135,7 +134,7 @@ const ProductCard = ({
135134
</SubjectBadge>
136135
))}
137136
</HStack>
138-
<ButtonLink href={url} m={4} height={20}>
137+
<ButtonLink href={url} className="m-4 h-20">
139138
{t("open")} {name}
140139
</ButtonLink>
141140
</Flex>

0 commit comments

Comments
 (0)