export function FormAlert({ alert, className = '', id }) { const tone = alert?.type === 'success' ? 'success' : 'error'; const classes = ['form-alert', className, alert ? tone : ''].filter(Boolean).join(' '); return ( ); }