Skip to content

Commit

Permalink
fix(website): set right props in project card component
Browse files Browse the repository at this point in the history
  • Loading branch information
cedoor committed Jan 10, 2024
1 parent 173ad73 commit 6eba863
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions apps/website/src/components/ProjectCard.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Card, CardBody, CardFooter, HStack, Heading, Link, LinkProps, Tag, Text } from "@chakra-ui/react"
import { Card, CardBody, CardFooter, CardProps, HStack, Heading, Link, Tag, Text } from "@chakra-ui/react"
import IconDiscord from "../icons/IconDiscord"
import IconGithub from "../icons/IconGithub"
import IconWebsite from "../icons/IconWebsite"
Expand All @@ -20,7 +20,7 @@ export default function ProjectCard({
githubUrl,
discordUrl,
...props
}: ProjectCardProps & LinkProps) {
}: ProjectCardProps & CardProps) {
return (
<Card
bg="darkBlue"
Expand All @@ -32,6 +32,7 @@ export default function ProjectCard({
w="full"
h="full"
_hover={{ borderColor: "ceruleanBlue" }}
{...props}
>
<HStack gap="8px" mb="2rem" wrap="wrap">
{categories.map((category) => (
Expand Down

0 comments on commit 6eba863

Please sign in to comment.