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 TogglePrimitive from "@radix-ui/react-toggle";
import { cva, type VariantProps } from "class-variance-authority";
import { cva } from "class-variance-authority";
import { cn } from "@/lib/utils";
@@ -28,19 +26,13 @@ const toggleVariants = cva(
},
);
const Toggle = (
{
ref,
className,
variant,
size,
...props
}
) => (<TogglePrimitive.Root
ref={ref}
className={cn(toggleVariants({ variant, size, className }))}
{...props}
/>);
const Toggle = ({ ref, className, variant, size, ...props }) => (
<TogglePrimitive.Root
ref={ref}
className={cn(toggleVariants({ variant, size, className }))}
{...props}
/>
);
Toggle.displayName = TogglePrimitive.Root.displayName;