diff --git a/frontend/src/pages/customer/CustomerProfilePage.tsx b/frontend/src/pages/customer/CustomerProfilePage.tsx index 4f98f58f..58a02ef1 100644 --- a/frontend/src/pages/customer/CustomerProfilePage.tsx +++ b/frontend/src/pages/customer/CustomerProfilePage.tsx @@ -28,7 +28,7 @@ import { toast } from 'react-toastify'; import { useQuery, useQueryClient } from '@tanstack/react-query'; import { Lock, Save, User as UserIcon, MapPin, Phone, Mail } from 'lucide-react'; -import { Button, Input, Loading } from '../../components/common'; +import { Button, Input, Loading, CountrySelect } from '../../components/common'; /** * Inline tile wrapper used in place of on this page. @@ -415,7 +415,7 @@ export const CustomerProfilePage: React.FC = () => { /> -
+
@@ -428,21 +428,6 @@ export const CustomerProfilePage: React.FC = () => { />
-
- - updateField('countryCode', e.target.value.toUpperCase().slice(0, 2))} - /> -
-
+ +
+ {/* Country picker (ISO code) — dropdown, mirroring the admin + customer / business-profile forms, placed after State / + region. Replaces the old free-text 2-char input. */} + updateField('countryCode', code)} + /> +