Fix: Handle Promise rejection in copyUserInfo
Modified the copyUserInfo function in MemberAdd.tsx to await the navigator.clipboard.writeText() Promise and handle potential rejections. This ensures that appropriate success or error messages are displayed to you.
Output:
Fix: Handle Promise rejection in copyUserInfo
I've modified the copyUserInfo function in MemberAdd.tsx to await the navigator.clipboard.writeText() Promise and handle potential rejections. This ensures that appropriate success or error messages are displayed to you.