diff --git a/apps/web/src/features/attendee-detail/AttendeeContactSection.tsx b/apps/web/src/features/attendee-detail/AttendeeContactSection.tsx index b842406..05369a6 100644 --- a/apps/web/src/features/attendee-detail/AttendeeContactSection.tsx +++ b/apps/web/src/features/attendee-detail/AttendeeContactSection.tsx @@ -1,10 +1,11 @@ -import { useEffect, useState } from 'react' +import { type ReactNode, useEffect, useState } from 'react' import { Mail, Phone } from 'lucide-react' import { ApiError } from '../../lib/api' import { formatPhoneDisplay } from '../../lib/format' import { cn } from '../../lib/utils' import { AttendeeContactForm } from './AttendeeContactForm' import { contactEmailError } from './detail' +import { PhoneRowActions } from './PhoneRowActions' import { Section } from './Section' import { useAttendeeDetail } from './AttendeeDetailProvider' import { useTranslation } from 'react-i18next' @@ -99,8 +100,12 @@ export function AttendeeContactSection() { icon={Phone} label={t('contact.phone')} value={formatPhoneDisplay(attendee.phone) ?? t('contact.addPhone')} - href={attendee.phone ? `tel:${attendee.phone.replace(/\D/g, '')}` : undefined} placeholder={!attendee.phone} + actions={ + attendee.phone ? ( + + ) : undefined + } />