diff --git a/README.md b/README.md index 24957e3..e308d5d 100644 --- a/README.md +++ b/README.md @@ -9,4 +9,3 @@ Find Dev is a kind of developer's Fair. An open-source platform to find all the - Add your profile in just two clicks - Easily filter developers based on your specific needs - Enjoy an interactive user interface - diff --git a/src/app/layout.tsx b/src/app/layout.tsx index 52a6efc..c029e8a 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -33,7 +33,7 @@ export default function RootLayout({ suppressHydrationWarning={true} className={cn( "relative h-full font-sans antialiased bg-zinc-100 dark:bg-zinc-900", - inter.className + inter.className, )} > , - fieldChange: (value: string) => void + fieldChange: (value: string) => void, ) => { event.preventDefault(); /** File reader */ diff --git a/src/components/shared/Notfound.tsx b/src/components/shared/Notfound.tsx index 342f134..42ac533 100644 --- a/src/components/shared/Notfound.tsx +++ b/src/components/shared/Notfound.tsx @@ -7,9 +7,7 @@ const Notfound = () => { not found

No Developers Founds!

-

- We couldn't find any developers 🥲 -

+

We couldn't find any developers

); diff --git a/src/components/ui/carousel.tsx b/src/components/ui/carousel.tsx index 7068839..b0a599e 100644 --- a/src/components/ui/carousel.tsx +++ b/src/components/ui/carousel.tsx @@ -49,14 +49,14 @@ const Carousel = React.forwardRef< children, ...props }, - ref + ref, ) => { const [carouselRef, api] = useEmblaCarousel( { ...opts, axis: orientation === "horizontal" ? "x" : "y", }, - plugins + plugins, ); const [canScrollPrev, setCanScrollPrev] = React.useState(false); const [canScrollNext, setCanScrollNext] = React.useState(false); @@ -79,7 +79,7 @@ const Carousel = React.forwardRef< scrollNext(); } }, - [scrollPrev, scrollNext] + [scrollPrev, scrollNext], ); React.useEffect(() => { @@ -122,7 +122,7 @@ const Carousel = React.forwardRef< ); - } + }, ); Carousel.displayName = "Carousel"; @@ -139,7 +139,7 @@ const CarouselContent = React.forwardRef< className={cn( "flex", orientation === "horizontal" ? "-ml-4" : "-mt-4 flex-col", - className + className, )} {...props} /> @@ -162,7 +162,7 @@ const CarouselItem = React.forwardRef< className={cn( "min-w-0 shrink-0 grow-0 basis-full", orientation === "horizontal" ? "pl-4" : "pt-4", - className + className, )} {...props} /> @@ -186,7 +186,7 @@ const CarouselPrevious = React.forwardRef< orientation === "horizontal" ? "-left-12 top-1/2 -translate-y-1/2" : "-top-12 left-1/2 -translate-x-1/2 rotate-90", - className + className, )} disabled={!canScrollPrev} onClick={scrollPrev} @@ -215,7 +215,7 @@ const CarouselNext = React.forwardRef< orientation === "horizontal" ? "-right-12 top-1/2 -translate-y-1/2" : "-bottom-12 left-1/2 -translate-x-1/2 rotate-90", - className + className, )} disabled={!canScrollNext} onClick={scrollNext} diff --git a/src/lib/actions/user.action.ts b/src/lib/actions/user.action.ts index 3fb8d41..f25cde0 100644 --- a/src/lib/actions/user.action.ts +++ b/src/lib/actions/user.action.ts @@ -13,7 +13,7 @@ import { users } from "@/schemas"; */ export const createProfile = async ( inputs: TUserSchema, - pathname: string + pathname: string, ): Promise => { const { success } = userSchema.safeParse(inputs); if (!success) throw new Error("Invalid inputs"); diff --git a/src/lib/validations/user.ts b/src/lib/validations/user.ts index 602a6ca..6634012 100644 --- a/src/lib/validations/user.ts +++ b/src/lib/validations/user.ts @@ -14,7 +14,7 @@ export const userSchema = z.object({ z.object({ network: z.string(), link: z.string(), - }) + }), ) .optional(), portfolio: z.string().nonempty({ message: "Profile is required!" }),