From 544acadb028551c71a2fcab99771b2b27e8cf1c7 Mon Sep 17 00:00:00 2001 From: Francis Gyimah Date: Tue, 4 Feb 2025 06:34:00 +0000 Subject: [PATCH] [DEV-19087] Used website.hostname for website name --- components/ContactCard/ContactCard.tsx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/components/ContactCard/ContactCard.tsx b/components/ContactCard/ContactCard.tsx index 37e5f31b..5b736b01 100644 --- a/components/ContactCard/ContactCard.tsx +++ b/components/ContactCard/ContactCard.tsx @@ -94,9 +94,7 @@ function ContactCard({ className, contactInfo, layout, renderAvatar, showAvatar, {website && isCard && ( - - {website.toString().replace(/(^\w+:|^)\/\//, '')} - + {website.hostname} )} {facebook && (