feat(SW-543): remove div
This commit is contained in:
@@ -41,7 +41,6 @@ export default async function ContactRow({ contact }: ContactRowProps) {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<div className={styles.wrapper}>
|
<div className={styles.wrapper}>
|
||||||
<div>
|
|
||||||
<Body color="burgundy" textTransform="bold">
|
<Body color="burgundy" textTransform="bold">
|
||||||
{contact.display_text}
|
{contact.display_text}
|
||||||
</Body>
|
</Body>
|
||||||
@@ -55,7 +54,6 @@ export default async function ContactRow({ contact }: ContactRowProps) {
|
|||||||
{Icon ? <Icon width="20" height="20" color="burgundy" /> : null}
|
{Icon ? <Icon width="20" height="20" color="burgundy" /> : null}
|
||||||
{val}
|
{val}
|
||||||
</Link>
|
</Link>
|
||||||
</div>
|
|
||||||
{footnote && contact.contact_field.includes("phone") && (
|
{footnote && contact.contact_field.includes("phone") && (
|
||||||
<Footnote color="burgundy">{footnote}</Footnote>
|
<Footnote color="burgundy">{footnote}</Footnote>
|
||||||
)}
|
)}
|
||||||
|
|||||||
Reference in New Issue
Block a user