Skip to content

Commit a5a8018

Browse files
committed
Fix build
1 parent 91bf959 commit a5a8018

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/components/mktd/ButtonWithMovingBorderEffect.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ export function ButtonWithMovingBorderEffect({
5353

5454
<div
5555
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",
56+
"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",
5757
className,
5858
)}
5959
style={{
@@ -79,7 +79,7 @@ export const MovingBorder = ({
7979
ry?: string;
8080
[key: string]: any;
8181
}) => {
82-
const pathRef = useRef<any>();
82+
const pathRef = useRef<SVGRectElement>(null);
8383
const progress = useMotionValue<number>(0);
8484

8585
useAnimationFrame((time) => {

0 commit comments

Comments
 (0)