Skip to content

Commit

Permalink
fix starttime check in components.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
eriktaubeneck committed Jul 12, 2024
1 parent 5857e71 commit b83ed19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/app/query/view/[id]/components.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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(() => {
Expand Down

0 comments on commit b83ed19

Please sign in to comment.