diff --git a/server/app/query/view/[id]/components.tsx b/server/app/query/view/[id]/components.tsx index 2cacdc8..5aaf35a 100644 --- a/server/app/query/view/[id]/components.tsx +++ b/server/app/query/view/[id]/components.tsx @@ -86,7 +86,7 @@ export function RunTimePill({ if (startTime === null) { setRunTime(null); } else { - if (endTime !== null && startTime !== null) { + if (endTime !== null) { setRunTime(endTime - startTime); } else { let newIntervalId = setInterval(() => {