Skip to content

Commit

Permalink
fix: docs fix
Browse files Browse the repository at this point in the history
  • Loading branch information
dillionverma committed Dec 18, 2024
1 parent 3a7db90 commit 183f43d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion components/component-wrapper.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const ComponentWrapper = ({ className, children }: ComponentWrapperProps) => {
className={cn(
`absolute inset-0 size-full`,
`bg-[radial-gradient(#00000055_1px,transparent_1px)] dark:bg-[radial-gradient(#ffffff22_1px,transparent_1px)]`,
"lab-bg [background-size:16px_16px]",
"lab-bg pointer-events-none [background-size:16px_16px]",
)}
/>
{children}
Expand Down
2 changes: 1 addition & 1 deletion registry/default/magicui/hyper-text.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export default function HyperText({
const elementRef = useRef<HTMLElement>(null);

const handleAnimationTrigger = () => {
if (animateOnHover) {
if (animateOnHover && !isAnimating) {
iterationCount.current = 0;
setIsAnimating(true);
}
Expand Down

0 comments on commit 183f43d

Please sign in to comment.