From 7dbca95bdd66f3ef56472daebb2a229b8682919e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Gustavo?= <166467972+JoaoGustavo-dev@users.noreply.github.com> Date: Fri, 31 Oct 2025 17:56:35 -0300 Subject: [PATCH] fix-result-page --- .../app/resultados/ResultadosClient.tsx | 45 +------------------ 1 file changed, 1 insertion(+), 44 deletions(-) diff --git a/susconecta/app/resultados/ResultadosClient.tsx b/susconecta/app/resultados/ResultadosClient.tsx index 0fe62dc..58e0000 100644 --- a/susconecta/app/resultados/ResultadosClient.tsx +++ b/susconecta/app/resultados/ResultadosClient.tsx @@ -922,50 +922,7 @@ export default function ResultadosClient() { - {/* Agenda: 4 colunas como no layout. Se ainda não carregou, mostra placeholders. */} -
-
- {(agenda || [ - { label: 'HOJE', data: fmtDay(new Date()), horarios: [] }, - { label: 'AMANHÃ', data: fmtDay(new Date(Date.now()+86400000)), horarios: [] }, - { label: shortWeek[new Date(Date.now()+2*86400000).getDay()], data: fmtDay(new Date(Date.now()+2*86400000)), horarios: [] }, - { label: shortWeek[new Date(Date.now()+3*86400000).getDay()], data: fmtDay(new Date(Date.now()+3*86400000)), horarios: [] }, - ]).map((col, idx) => { - const horarios = agendasExpandida[id] ? col.horarios : col.horarios.slice(0, 3) - return ( -
-

{col.label}

-

{col.data}

-
- {isLoadingAgenda && !agenda ? ( - - Carregando... - - ) : horarios.length ? ( - horarios.map(h => ( - - )) - ) : ( - - Sem horários - - )} - {!agendasExpandida[id] && (col.horarios.length > 3) && ( - +{col.horarios.length - 3} horários - )} -
-
- ) - })} -
-
+ {/* Horários compactos removidos conforme solicitação do design (colunas HOJE/AMANHÃ/etc.). */} ) })}