style: remove WhatsApp link from client phone number
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 1m24s
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 1m24s
This commit is contained in:
@@ -81,10 +81,10 @@ const ClientDetails = () => {
|
||||
{clientPhone && (
|
||||
<>
|
||||
<span className="text-zinc-300 dark:text-dark-border">•</span>
|
||||
<a href={`https://wa.me/${clientPhone.replace(/\D/g, '')}`} target="_blank" rel="noreferrer" className="flex items-center gap-1.5 text-brand-primary hover:opacity-80 transition-opacity font-bold text-sm bg-brand-primary/10 px-2 py-1 rounded-md">
|
||||
<span className="flex items-center gap-1.5 text-brand-primary font-bold text-sm bg-brand-primary/10 px-2 py-1 rounded-md">
|
||||
<Phone className="w-3.5 h-3.5" />
|
||||
{clientPhone}
|
||||
</a>
|
||||
</span>
|
||||
</>
|
||||
)}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user