Skip to content

Commit

Permalink
fixed url (ohcnetwork#3837)
Browse files Browse the repository at this point in the history
  • Loading branch information
Pranshu1902 authored Oct 27, 2022
1 parent 9441e3f commit 5a17a88
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Components/Assets/AssetWarrantyCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,9 @@ export default function AssetWarrantyCard(props: { asset: AssetData }) {
<>
<div className="w-16 text-gray-200 italic">{item[0]} :</div>
<a
href={(item[0] === "Email" ? "mailto:" : "") + item[1]}
href={
(item[0] === "Email" ? "mailto:" : "tel:") + item[1]
}
className="text-primary-300 hover:text-primary-400 border-b border-primary-300"
>
<i className={"mr-1 uil uil-" + item[2]} />
Expand Down

0 comments on commit 5a17a88

Please sign in to comment.