IO-2933 Resolve PR comments.

This commit is contained in:
Patrick Fic
2024-09-18 11:19:43 -07:00
parent 2a33f462a3
commit e3059b41ae
4 changed files with 10 additions and 19 deletions

View File

@@ -337,13 +337,7 @@ const CardPaymentModalComponent = ({
message.success(t("general.actions.copied"));
}}
>
<div
onClick={() => {
//Copy the link.
}}
>
{paymentLink}
</div>
<div>{paymentLink}</div>
<CopyFilled />
</Space>
)}

View File

@@ -35,7 +35,7 @@ export function PaymentsGenerateLink({ bodyshop, currentUser, callback, job, ope
try {
p = parsePhoneNumber(job.ownr_ph1 || "", "CA");
} catch (error) {
console.log("Unable to part phone number");
console.log("Unable to parse phone number");
}
setLoading(true);
const response = await axios.post("/intellipay/generate_payment_url", {