Skip to content

Commit 6eba863

Browse files
committed
fix(website): set right props in project card component
1 parent 173ad73 commit 6eba863

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

apps/website/src/components/ProjectCard.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Card, CardBody, CardFooter, HStack, Heading, Link, LinkProps, Tag, Text } from "@chakra-ui/react"
1+
import { Card, CardBody, CardFooter, CardProps, HStack, Heading, Link, Tag, Text } from "@chakra-ui/react"
22
import IconDiscord from "../icons/IconDiscord"
33
import IconGithub from "../icons/IconGithub"
44
import IconWebsite from "../icons/IconWebsite"
@@ -20,7 +20,7 @@ export default function ProjectCard({
2020
githubUrl,
2121
discordUrl,
2222
...props
23-
}: ProjectCardProps & LinkProps) {
23+
}: ProjectCardProps & CardProps) {
2424
return (
2525
<Card
2626
bg="darkBlue"
@@ -32,6 +32,7 @@ export default function ProjectCard({
3232
w="full"
3333
h="full"
3434
_hover={{ borderColor: "ceruleanBlue" }}
35+
{...props}
3536
>
3637
<HStack gap="8px" mb="2rem" wrap="wrap">
3738
{categories.map((category) => (

0 commit comments

Comments
 (0)