"use client"; import { motion } from "motion/react"; import { useState } from "react"; import { useReducedMotion } from "@/app/hooks/useReducedMotion"; interface DrawLineProps { className?: string; delay?: number; } export function DrawLine({ className = "", delay = 0, }: Readonly) { const shouldReduceMotion = useReducedMotion(); const [animating, setAnimating] = useState(!shouldReduceMotion); return ( setAnimating(false)} /> ); }