diff --git a/src/hooks/useParallax.ts b/src/hooks/useParallax.ts index 5e5a3a5..5b54605 100644 --- a/src/hooks/useParallax.ts +++ b/src/hooks/useParallax.ts @@ -1,6 +1,6 @@ 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;