We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 91bf959 commit a5a8018Copy full SHA for a5a8018
1 file changed
src/components/mktd/ButtonWithMovingBorderEffect.tsx
@@ -53,7 +53,7 @@ export function ButtonWithMovingBorderEffect({
53
54
<div
55
className={cn(
56
- "relative flex h-full w-full items-center justify-center border border-main-500 bg-main-700/[0.8] text-sm text-white antialiased backdrop-blur-xl",
+ "border-main-500 bg-main-700/[0.8] relative flex h-full w-full items-center justify-center border text-sm text-white antialiased backdrop-blur-xl",
57
className,
58
)}
59
style={{
@@ -79,7 +79,7 @@ export const MovingBorder = ({
79
ry?: string;
80
[key: string]: any;
81
}) => {
82
- const pathRef = useRef<any>();
+ const pathRef = useRef<SVGRectElement>(null);
83
const progress = useMotionValue<number>(0);
84
85
useAnimationFrame((time) => {
0 commit comments