From b83ed1963b2e722f157072f0edcc5c4a3da56cda Mon Sep 17 00:00:00 2001
From: Erik Taubeneck <erik.taubeneck@gmail.com>
Date: Fri, 12 Jul 2024 15:43:15 -0700
Subject: [PATCH] fix starttime check in components.tsx

---
 server/app/query/view/[id]/components.tsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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(() => {