From a61531ca1977e9784a5288ad6e8779dc65d5700c Mon Sep 17 00:00:00 2001 From: Leopoldadmin Date: Sat, 4 Jul 2026 01:42:11 +0000 Subject: [PATCH] A: Add AddressList tab to ContactDetail.tsx --- frontend/src/pages/ContactDetail.tsx | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/frontend/src/pages/ContactDetail.tsx b/frontend/src/pages/ContactDetail.tsx index 71e6b4c..6eb6a2d 100644 --- a/frontend/src/pages/ContactDetail.tsx +++ b/frontend/src/pages/ContactDetail.tsx @@ -10,6 +10,7 @@ import { EmptyState } from '@/components/ui/EmptyState'; import { Skeleton } from '@/components/ui/Skeleton'; import { Avatar } from '@/components/ui/Avatar'; import { TagPicker } from '@/components/tags/TagPicker'; +import { AddressList } from '@/components/AddressList'; export function ContactDetailPage() { const { id } = useParams<{ id: string }>(); @@ -101,6 +102,14 @@ export function ContactDetailPage() { ), }; + const addressesTab: TabItem = { + key: 'addresses', + label: t('address.title'), + content: ( + + ), + }; + const tagsTab: TabItem = { key: 'tags', label: t('tags.title'), @@ -135,7 +144,7 @@ export function ContactDetailPage() { {t('common.edit')} - + ); }