From f0e4cb686232cf9cce1124e5571913fb19468ad7 Mon Sep 17 00:00:00 2001 From: Innocent-akim Date: Sat, 21 Dec 2024 05:17:44 +0200 Subject: [PATCH] fix:ticket total hours --- apps/web/lib/features/task/task-displays.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/web/lib/features/task/task-displays.tsx b/apps/web/lib/features/task/task-displays.tsx index f32d25442..502d1a01c 100644 --- a/apps/web/lib/features/task/task-displays.tsx +++ b/apps/web/lib/features/task/task-displays.tsx @@ -89,7 +89,7 @@ export const DisplayTimeForTimesheet = ({ timesheetLog, logType }: { timesheetLo timesheetLog.stoppedAt instanceof Date ? timesheetLog.stoppedAt : new Date(timesheetLog.stoppedAt) ); - const { h: hours, m: minute, s: second } = secondsToTime(seconds); + const { h: hours, m: minute } = secondsToTime(seconds); const iconClasses = 'text-[14px] h-4 w-4'; const icons = { @@ -102,7 +102,7 @@ export const DisplayTimeForTimesheet = ({ timesheetLog, logType }: { timesheetLo
{icons[resolvedLogType]}
- {formatTime(hours, minute, second)} + {formatTime(hours, minute)}
);