diff --git a/frontend/src/pages/customer/CustomerAcceptInvitePage.tsx b/frontend/src/pages/customer/CustomerAcceptInvitePage.tsx index fcd179eb..4f0eedd8 100644 --- a/frontend/src/pages/customer/CustomerAcceptInvitePage.tsx +++ b/frontend/src/pages/customer/CustomerAcceptInvitePage.tsx @@ -21,7 +21,7 @@ import { Lock, MapPin, Phone, User as UserIcon, AlertCircle, CheckCircle } from import { toast } from 'react-toastify'; import { useTranslation } from 'react-i18next'; -import { Button, Input, Card, Loading } from '../../components/common'; +import { Button, Input, Card, Loading, CountrySelect } from '../../components/common'; import { customerService, type CustomerInvitationInfo, @@ -393,7 +393,7 @@ export const CustomerAcceptInvitePage: React.FC = () => { onChange={(e) => update('postal_code', e.target.value)} /> -
+
@@ -405,20 +405,6 @@ export const CustomerAcceptInvitePage: React.FC = () => { onChange={(e) => update('city', e.target.value)} />
-
- - update('country_code', 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. */} + update('country_code', code)} + /> +