import { AnimatePresence, motion, useReducedMotion } from 'framer-motion'; import type { ReactNode } from 'react'; export default function PageTransition({ children, routeKey }: { children: ReactNode; routeKey?: string }) { const reduceMotion = useReducedMotion(); if (reduceMotion) return children; return ( {children} ); }