diff --git a/canopeum_frontend/src/components/social/ContactCard.tsx b/canopeum_frontend/src/components/social/ContactCard.tsx index 1c214dc6a..27c367931 100644 --- a/canopeum_frontend/src/components/social/ContactCard.tsx +++ b/canopeum_frontend/src/components/social/ContactCard.tsx @@ -18,6 +18,10 @@ type Props = { const ContactCard = ({ contact, viewMode, onEdit }: Props) => { const [isModalOpen, setIsModalOpen] = useState(false) + const googleMapQueryURL = contact.address + ? `https://www.google.com/maps/search/?api=1&query=${encodeURI(contact.address)}` + : '' + const renderContactCard = () => (
{contact.address}
-{contact.email}
-{contact.phone}
-