diff --git a/web/src/components/tickets/ticket-summary-header.tsx b/web/src/components/tickets/ticket-summary-header.tsx index 37f4389..df65bf3 100644 --- a/web/src/components/tickets/ticket-summary-header.tsx +++ b/web/src/components/tickets/ticket-summary-header.tsx @@ -190,7 +190,6 @@ export function TicketSummaryHeader({ ticket }: TicketHeaderProps) { const totalWorkedMs = workSummary ? workSummary.totalWorkedMs + currentSessionMs : 0 const formattedTotalWorked = useMemo(() => formatDuration(totalWorkedMs), [totalWorkedMs]) - const formattedCurrentSession = useMemo(() => formatDuration(currentSessionMs), [currentSessionMs]) const updatedRelative = useMemo( () => formatDistanceToNow(ticket.updatedAt, { addSuffix: true, locale: ptBR }), [ticket.updatedAt] @@ -199,14 +198,9 @@ export function TicketSummaryHeader({ ticket }: TicketHeaderProps) { return (
- {isPlaying ? ( - - Sessão atual: {formattedCurrentSession} - - ) : null} {workSummary ? ( - Tempo total: {formattedTotalWorked} + Tempo total: {formattedTotalWorked} ) : null} {!editing ? (