diff --git a/src/pages/profile.tsx b/src/pages/profile.tsx index 53a565aa..b632ee46 100644 --- a/src/pages/profile.tsx +++ b/src/pages/profile.tsx @@ -159,6 +159,7 @@ export default function Home() { setIsLoading(false); }; + debugger; return ( <> @@ -361,26 +362,37 @@ export default function Home() { -
(profilePictureInput.current as any)?.click()}> -
-
- +
+
(profilePictureInput.current as any)?.click()}> +
+
+ +
+ {user.name}
- {user.name} + + (profilePictureInput.current as any)?.click()} + className="cursor-pointer text-mti-purple-light text-sm"> + Change picture + +
{USER_TYPE_LABELS[user.type]}
- - (profilePictureInput.current as any)?.click()} - className="cursor-pointer text-mti-purple-light text-sm"> - Change picture - -
{USER_TYPE_LABELS[user.type]}
+ {user.type === 'agent' && ( +
+ {user.demographicInformation?.country.toLowerCase() +
+ )}