Merged in fix/remove-space-phone-number-link (pull request #776)
fix: remove spaces in phone number in link because of bad schema Approved-by: Chuma Mcphoy (We Ahead) Approved-by: Matilda Landström
This commit is contained in:
@@ -51,7 +51,7 @@ export default function Alert({
|
|||||||
<span> {phoneContact.displayText} </span>
|
<span> {phoneContact.displayText} </span>
|
||||||
<Link
|
<Link
|
||||||
color="burgundy"
|
color="burgundy"
|
||||||
href={`tel:${phoneContact.phoneNumber}`}
|
href={`tel:${phoneContact.phoneNumber.replace(/ /g, "")}`}
|
||||||
>
|
>
|
||||||
{phoneContact.phoneNumber}
|
{phoneContact.phoneNumber}
|
||||||
</Link>
|
</Link>
|
||||||
|
|||||||
Reference in New Issue
Block a user