'use client'; import { Alert, AlertDescription, AlertTitle } from '@/components/ui/alert'; import { ExclamationTriangleIcon } from '@heroicons/react/24/outline'; import { motion } from 'framer-motion'; type AuthErrorAlertProps = { title: string; message?: string; }; export default function AuthErrorAlert({ title, message }: AuthErrorAlertProps) { if (!message) return null; return ( {title} {message} ); }