From 62cced521f4704065e207515781645b3ce7a3adb Mon Sep 17 00:00:00 2001 From: M-Gabrielly Date: Wed, 3 Dec 2025 22:47:08 -0300 Subject: [PATCH] fix(paciente):removed the option to edit patient photos --- susconecta/app/paciente/page.tsx | 35 +++++++++++--------------------- 1 file changed, 12 insertions(+), 23 deletions(-) diff --git a/susconecta/app/paciente/page.tsx b/susconecta/app/paciente/page.tsx index a3e7245..f344784 100644 --- a/susconecta/app/paciente/page.tsx +++ b/susconecta/app/paciente/page.tsx @@ -1888,31 +1888,20 @@ export default function PacientePage() {

Foto do Perfil

- {isEditingProfile ? ( -
- handleProfileChange('foto_url', newUrl)} - userName={profileData.nome} - /> -
- ) : ( -
- - - - {profileData.nome?.split(' ').map((n: string) => n[0]).join('').toUpperCase().slice(0, 2) || 'PC'} - - +
+ + + + {profileData.nome?.split(' ').map((n: string) => n[0]).join('').toUpperCase().slice(0, 2) || 'PC'} + + -
-

- {profileData.nome?.split(' ').map((n: string) => n[0]).join('').toUpperCase().slice(0, 2) || 'PC'} -

-
+
+

+ {profileData.nome?.split(' ').map((n: string) => n[0]).join('').toUpperCase().slice(0, 2) || 'PC'} +

- )} +