fix copy
This commit is contained in:
@@ -700,7 +700,7 @@
|
||||
// =============== Copy Referral Code ===============
|
||||
function copyReferralCode() {
|
||||
if (userData?.referralCode) {
|
||||
navigator.clipboard.writeText(userData.referralCode);
|
||||
navigator.clipboard.writeText(userData.referralCode.replace(/-/g, ''));
|
||||
toast.success('Referral code copied to clipboard!');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user