From 40d71e0f0acf2360dd26bdf934a8e2a52007396d Mon Sep 17 00:00:00 2001 From: kudinDmitriyUp Date: Thu, 16 Apr 2026 06:01:21 +0000 Subject: [PATCH] Bob AI: fix build errors (attempt 1) --- src/components/sections/features/FeaturesRevealCards.tsx | 2 +- src/hooks/useParallax.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/sections/features/FeaturesRevealCards.tsx b/src/components/sections/features/FeaturesRevealCards.tsx index c3773f2..f5ef54d 100644 --- a/src/components/sections/features/FeaturesRevealCards.tsx +++ b/src/components/sections/features/FeaturesRevealCards.tsx @@ -22,7 +22,7 @@ interface FeaturesRevealCardsProps { } const ParallaxFeatureCard = ({ item, index }: { item: FeatureItem; index: number }) => { - const cardRef = useRef(null); + const cardRef = useRef(null); const transform = useParallax(cardRef, { maxRotate: 5 }); return ( diff --git a/src/hooks/useParallax.ts b/src/hooks/useParallax.ts index 2d159ca..5e5a3a5 100644 --- a/src/hooks/useParallax.ts +++ b/src/hooks/useParallax.ts @@ -1,4 +1,4 @@ -import { useState, useEffect, RefObject } from "react"; +import { useState, useEffect, type RefObject } from "react"; export const useParallax = (ref: RefObject, options?: { maxRotate?: number }) => { const [transform, setTransform] = useState("rotateX(0deg) rotateY(0deg) scale3d(1, 1, 1)");