UI Library for Design Engineers. Animated components and effects you can copy and paste into your apps. Free. Open Source.
fix: lint
Dillion Verma66dae84d39ec
diff --git a/components/ui/popover.tsx b/components/ui/popover.tsxindex 29c7bd2a..bd495013 100644--- a/components/ui/popover.tsx+++ b/components/ui/popover.tsx@@ -1,15 +1,15 @@-"use client"+"use client";-import * as React from "react"-import * as PopoverPrimitive from "@radix-ui/react-popover"+import * as React from "react";+import * as PopoverPrimitive from "@radix-ui/react-popover";-import { cn } from "@/lib/utils"+import { cn } from "@/lib/utils";-const Popover = PopoverPrimitive.Root+const Popover = PopoverPrimitive.Root;-const PopoverTrigger = PopoverPrimitive.Trigger+const PopoverTrigger = PopoverPrimitive.Trigger;-const PopoverAnchor = PopoverPrimitive.Anchor+const PopoverAnchor = PopoverPrimitive.Anchor;const PopoverContent = React.forwardRef<React.ElementRef<typeof PopoverPrimitive.Content>,@@ -22,12 +22,12 @@ const PopoverContent = React.forwardRef<sideOffset={sideOffset}className={cn("z-50 w-72 rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",- className+ className,)}{...props}/></PopoverPrimitive.Portal>-))-PopoverContent.displayName = PopoverPrimitive.Content.displayName+));+PopoverContent.displayName = PopoverPrimitive.Content.displayName;-export { Popover, PopoverTrigger, PopoverContent, PopoverAnchor }+export { Popover, PopoverTrigger, PopoverContent, PopoverAnchor };diff --git a/registry/components/example/linear-gradient-demo.tsx b/registry/components/example/linear-gradient-demo.tsxdeleted file mode 100644index f40bce53..00000000--- a/registry/components/example/linear-gradient-demo.tsx+++ /dev/null@@ -1,12 +0,0 @@-import LinearGradient from "@/components/magicui/linear-gradient";--export default function LinearGradientDemo() {- return (- <div className="relative flex h-full w-full max-w-[32rem] items-center justify-center rounded-lg border bg-background p-20 md:shadow-xl">- <p className="z-10 whitespace-pre-wrap text-center text-5xl font-medium tracking-tighter text-black dark:text-white">- Linear Gradient- </p>- <LinearGradient />- </div>- );-}diff --git a/registry/components/example/radial-gradient-demo.tsx b/registry/components/example/radial-gradient-demo.tsxdeleted file mode 100644index 1d6b1146..00000000--- a/registry/components/example/radial-gradient-demo.tsx+++ /dev/null@@ -1,12 +0,0 @@-import RadialGradient from "@/components/magicui/radial-gradient";--export default function RadialGradientDemo() {- return (- <div className="relative flex h-full w-full max-w-[32rem] items-center justify-center rounded-lg border bg-background p-20 md:shadow-xl">- <p className="z-10 whitespace-pre-wrap text-center text-5xl font-medium tracking-tighter text-black dark:text-white">- Radial Gradient- </p>- <RadialGradient />- </div>- );-}