Compare commits

..

No commits in common. "c07bb6b52f34487bf4cfb3e4caf2d1ea2eac200a" and "8dc9d871d97f36bc8e93c9c2a5c8174f4488f834" have entirely different histories.

2 changed files with 2 additions and 4 deletions

View File

@ -1,2 +1,2 @@
Branch: phone-code
Commit: 57cf92f4a68510b598927e96163f4cce5d75c309
Branch: main
Commit: 75acd1de923fe310458333b66b71450f444eee2b

View File

@ -298,7 +298,6 @@ export const AuthModal: React.FC<AuthModalProps> = ({
const rule = getCountryRuleByDialCode(newCode);
if (rule && rule.country !== 'Other') {
setAuthCountry(rule.country);
setAuthPhone(cleanPhoneInput(authPhone, rule.maxLength, false));
}
}}
className="w-[90px] bg-slate-950 border border-slate-800 rounded-xl px-3 py-2.5 text-sm font-semibold text-white focus:outline-none focus:border-indigo-500 appearance-none"
@ -342,7 +341,6 @@ export const AuthModal: React.FC<AuthModalProps> = ({
const rule = getCountryRuleByName(newCountry);
if (rule) {
setAuthDialCode(rule.code);
setAuthPhone(cleanPhoneInput(authPhone, rule.maxLength, false));
}
}}
className="w-full bg-slate-950 border border-slate-800 rounded-xl px-4 py-2.5 text-sm font-semibold text-white focus:outline-none focus:border-indigo-500 appearance-none"