fix(draft-order): Update copy phone number (#14044)

## Summary

**What** — What changes are introduced in this PR?

Copying the phone number would previously copy the email. Implements a fix to instead copy the expected phone number.

**Why** — Why are these changes relevant or necessary?  

Implement the expected functionality

**How** — How have these changes been implemented?

Update the content of the `<Copy ... />` component.

**Testing** — How have these changes been tested, or how can the reviewer test the feature?

Manual testing was performed 
---

## Checklist

Please ensure the following before requesting a review:

- [ ] I have added a **changeset** for this PR
    - Every non-breaking change should be marked as a **patch**
    - To add a changeset, run `yarn changeset` and follow the prompts
- [ ] The changes are covered by relevant **tests**
- [ ] I have verified the code works as intended locally
- [ ] I have linked the related issue(s) if applicable

---

## Additional Context

CLOSES CORE-1282
This commit is contained in:
juanzgc
2025-11-12 12:32:55 -05:00
committed by GitHub
parent e59cdae336
commit e75e67f27d
2 changed files with 6 additions and 1 deletions

View File

@@ -134,7 +134,7 @@ const Contact = ({ order }: CustomerSectionProps) => {
</Text>
<div className="flex justify-end">
<Copy content={email} className="text-ui-fg-muted" />
<Copy content={phone} className="text-ui-fg-muted" />
</div>
</div>
)}