import { useEffect } from 'react'; import toast from 'react-hot-toast'; export function DocumentSkeleton() { useEffect(() => { const timer = setTimeout(() => { toast('There might be an issue with the file import. Please try again.', { icon: '⚠️', style: { background: 'var(--background)', color: 'var(--accent)', }, duration: 5000, }); }, 3000); return () => clearTimeout(timer); }, []); return (