Skip to content

UI Library for Design Engineers. Animated components and effects you can copy and paste into your apps. Free. Open Source.

fix: lint fix

Arghya Das862b00f86f5f
diff --git a/config/docs.ts b/config/docs.ts
index 1e8507fe..a67bb4f8 100644
--- a/config/docs.ts
+++ b/config/docs.ts
@@ -406,7 +406,7 @@ export const docsConfig: DocsConfig = {
href: `/docs/components/morphing-text`,
items: [],
label: "New",
- }
+ },
],
},
{
diff --git a/registry/default/magicui/dock.tsx b/registry/default/magicui/dock.tsx
index d59b27e4..13cd7a07 100644
--- a/registry/default/magicui/dock.tsx
+++ b/registry/default/magicui/dock.tsx
@@ -27,7 +27,7 @@ const DEFAULT_MAGNIFICATION = 60;
const DEFAULT_DISTANCE = 140;
const dockVariants = cva(
- "supports-backdrop-blur:bg-white/10 supports-backdrop-blur:dark:bg-black/10 mx-auto mt-8 flex h-[58px] w-max items-center justify-center gap-2 rounded-2xl border p-2 backdrop-blur-md"
+ "supports-backdrop-blur:bg-white/10 supports-backdrop-blur:dark:bg-black/10 mx-auto mt-8 flex h-[58px] w-max items-center justify-center gap-2 rounded-2xl border p-2 backdrop-blur-md",
);
const Dock = React.forwardRef<HTMLDivElement, DockProps>(
@@ -41,7 +41,7 @@ const Dock = React.forwardRef<HTMLDivElement, DockProps>(
direction = "middle",
...props
},
- ref
+ ref,
) => {
const mouseX = useMotionValue(Infinity);
@@ -75,7 +75,7 @@ const Dock = React.forwardRef<HTMLDivElement, DockProps>(
{renderChildren()}
</motion.div>
);
- }
+ },
);
Dock.displayName = "Dock";
@@ -112,7 +112,7 @@ const DockIcon = ({
const sizeTransform = useTransform(
distanceCalc,
[-distance, 0, distance],
- [size, magnification, size]
+ [size, magnification, size],
);
const scaleSize = useSpring(sizeTransform, {
@@ -127,7 +127,7 @@ const DockIcon = ({
style={{ width: scaleSize, height: scaleSize, padding }}
className={cn(
"flex aspect-square cursor-pointer items-center justify-center rounded-full",
- className
+ className,
)}
{...props}
>