- Add validPrefixes and example fields to CountryCode interface in constants/countries.ts - Refactor validatePhoneNumber in utils/validation.ts to generically enforce starting prefixes across all countries - Clearly indicate starting prefix requirement (e.g. 'For Pakistan, the mobile number must start with 3.') - Improve phone input error matching in AuthModal and ProfileDrawer for mobile validation errors |
||
|---|---|---|
| .. | ||
| components | ||
| constants | ||
| services | ||
| types | ||
| utils | ||
| App.tsx | ||
| index.css | ||
| main.tsx | ||