Skip to content

Commit ffee150

Browse files
committed
Update import order
1 parent 86dba9f commit ffee150

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

src/components/EventCard.tsx

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@ import { useRouter } from "next/router"
33
import { useTranslation } from "next-i18next"
44
import { BsCalendar3 } from "react-icons/bs"
55

6-
import { cn } from "@/lib/utils/cn"
7-
86
import type { EventCardProps } from "@/lib/types"
97

108
import { ButtonLink } from "@/components/ui/buttons/Button"
119
import { Card, CardContent, CardFooter, CardHeader } from "@/components/ui/card"
1210

11+
import { cn } from "@/lib/utils/cn"
12+
1313
import { TwImage } from "./Image"
1414

1515
import EventFallback from "@/public/images/events/event-placeholder.png"
@@ -36,9 +36,7 @@ const EventCard: React.FC<EventCardProps> = ({
3636
)
3737

3838
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)}>
4240
<CardHeader className="flex flex-row items-center justify-center rounded-t-md border-b border-primary bg-[#FCFCFC] p-2 dark:bg-[#272627]">
4341
<BsCalendar3 className="mr-2 h-6 w-6 text-primary" />
4442
<span className="!mt-0 text-right text-sm text-primary">

0 commit comments

Comments
 (0)