"use client"; import { AnimatePresence, motion } from "motion/react"; import { usePathname } from "next/navigation"; import type { ReactNode } from "react"; import { useReducedMotion } from "@/app/hooks/useReducedMotion"; interface RouteTransitionProps { children: ReactNode; } export function RouteTransition({ children }: Readonly) { const pathname = usePathname(); const shouldReduceMotion = useReducedMotion(); return ( {children} ); }