From 034fff59bd952dbb67b154f1c0e993db7db87c0a Mon Sep 17 00:00:00 2001 From: Fredrik Thorsson Date: Thu, 2 Jan 2025 15:36:51 +0100 Subject: [PATCH] feat(SW-543): remove div --- .../JoinLoyalty/Contact/ContactRow/index.tsx | 28 +++++++++---------- 1 file changed, 13 insertions(+), 15 deletions(-) diff --git a/components/Sidebar/JoinLoyalty/Contact/ContactRow/index.tsx b/components/Sidebar/JoinLoyalty/Contact/ContactRow/index.tsx index 58ffa8157..2eb532ad6 100644 --- a/components/Sidebar/JoinLoyalty/Contact/ContactRow/index.tsx +++ b/components/Sidebar/JoinLoyalty/Contact/ContactRow/index.tsx @@ -41,21 +41,19 @@ export default async function ContactRow({ contact }: ContactRowProps) { return (
-
- - {contact.display_text} - - - {Icon ? : null} - {val} - -
+ + {contact.display_text} + + + {Icon ? : null} + {val} + {footnote && contact.contact_field.includes("phone") && ( {footnote} )}