chore: lint

This commit is contained in:
Bereket Engida
2025-03-04 20:31:58 +03:00
parent 210c20eb65
commit 9d8bbb7471
38 changed files with 2251 additions and 2360 deletions

View File

@@ -1,8 +1,6 @@
"use client";
import * as React from "react";
import * as LabelPrimitive from "@radix-ui/react-label";
import { cva, type VariantProps } from "class-variance-authority";
import { cva } from "class-variance-authority";
import { cn } from "@/lib/utils";
@@ -10,17 +8,13 @@ const labelVariants = cva(
"text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70",
);
const Label = (
{
ref,
className,
...props
}
) => (<LabelPrimitive.Root
ref={ref}
className={cn(labelVariants(), className)}
{...props}
/>);
const Label = ({ ref, className, ...props }) => (
<LabelPrimitive.Root
ref={ref}
className={cn(labelVariants(), className)}
{...props}
/>
);
Label.displayName = LabelPrimitive.Root.displayName;
export { Label };