'use client'; import * as React from 'react'; import { motion } from 'motion/react'; /** * App-level template re-mounts on every route change, so animating its mount * gives a smooth cross-route transition (e.g. / → /chat) without needing the * experimental React component. */ export default function Template({ children }: { children: React.ReactNode }) { return ( {children} ); }