fix: remove spaces in phone number in link because of bad schema
This commit is contained in:
committed by
Christian Andolf
parent
0efa52ada5
commit
c5fa407dee
@@ -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