From eaa26d9599287e11e23f5d83703f5baf4cb6e33a Mon Sep 17 00:00:00 2001 From: kudinDmitriyUp Date: Thu, 16 Apr 2026 06:13:21 +0000 Subject: [PATCH] Bob AI: fix build errors (attempt 1) --- src/hooks/useParallax.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/hooks/useParallax.ts b/src/hooks/useParallax.ts index 2d159ca..59916ae 100644 --- a/src/hooks/useParallax.ts +++ b/src/hooks/useParallax.ts @@ -1,6 +1,6 @@ -import { useState, useEffect, RefObject } from "react"; +import { useState, useEffect, type RefObject } from "react"; -export const useParallax = (ref: RefObject, options?: { maxRotate?: number }) => { +export const useParallax = (ref: RefObject, options?: { maxRotate?: number }) => { const [transform, setTransform] = useState("rotateX(0deg) rotateY(0deg) scale3d(1, 1, 1)"); const maxRotate = options?.maxRotate || 5;