Skip to content

Commit

Permalink
fix: lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
itsarghyadas committed Dec 20, 2024
1 parent 4e527dd commit 862b00f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion config/docs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,7 @@ export const docsConfig: DocsConfig = {
href: `/docs/components/morphing-text`,
items: [],
label: "New",
}
},
],
},
{
Expand Down
10 changes: 5 additions & 5 deletions registry/default/magicui/dock.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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>(
Expand All @@ -41,7 +41,7 @@ const Dock = React.forwardRef<HTMLDivElement, DockProps>(
direction = "middle",
...props
},
ref
ref,
) => {
const mouseX = useMotionValue(Infinity);

Expand Down Expand Up @@ -75,7 +75,7 @@ const Dock = React.forwardRef<HTMLDivElement, DockProps>(
{renderChildren()}
</motion.div>
);
}
},
);

Dock.displayName = "Dock";
Expand Down Expand Up @@ -112,7 +112,7 @@ const DockIcon = ({
const sizeTransform = useTransform(
distanceCalc,
[-distance, 0, distance],
[size, magnification, size]
[size, magnification, size],
);

const scaleSize = useSpring(sizeTransform, {
Expand All @@ -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}
>
Expand Down

0 comments on commit 862b00f

Please sign in to comment.