File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -3,13 +3,13 @@ import { useRouter } from "next/router"
3
3
import { useTranslation } from "next-i18next"
4
4
import { BsCalendar3 } from "react-icons/bs"
5
5
6
- import { cn } from "@/lib/utils/cn"
7
-
8
6
import type { EventCardProps } from "@/lib/types"
9
7
10
8
import { ButtonLink } from "@/components/ui/buttons/Button"
11
9
import { Card , CardContent , CardFooter , CardHeader } from "@/components/ui/card"
12
10
11
+ import { cn } from "@/lib/utils/cn"
12
+
13
13
import { TwImage } from "./Image"
14
14
15
15
import EventFallback from "@/public/images/events/event-placeholder.png"
@@ -36,9 +36,7 @@ const EventCard: React.FC<EventCardProps> = ({
36
36
)
37
37
38
38
return (
39
- < Card
40
- className = { cn ( "flex h-full flex-col rounded-md border" , className ) }
41
- >
39
+ < Card className = { cn ( "flex h-full flex-col rounded-md border" , className ) } >
42
40
< CardHeader className = "flex flex-row items-center justify-center rounded-t-md border-b border-primary bg-[#FCFCFC] p-2 dark:bg-[#272627]" >
43
41
< BsCalendar3 className = "mr-2 h-6 w-6 text-primary" />
44
42
< span className = "!mt-0 text-right text-sm text-primary" >
You can’t perform that action at this time.
0 commit comments