diff --git a/frontend/src/queries/nodes/DataNode/ElapsedTime.tsx b/frontend/src/queries/nodes/DataNode/ElapsedTime.tsx index 728074f2d7ba0..11d582f7537e9 100644 --- a/frontend/src/queries/nodes/DataNode/ElapsedTime.tsx +++ b/frontend/src/queries/nodes/DataNode/ElapsedTime.tsx @@ -73,13 +73,11 @@ export function ElapsedTime({ showTimings }: { showTimings?: boolean }): JSX.Ele } if (!isShowingCachedResults && loadingStart && !elapsedTime) { + time = performance.now() - loadingStart if (!responseError) { - time = performance.now() - loadingStart window.requestAnimationFrame(() => { setTick((tick) => tick + 1) }) - } else { - time = performance.now() - loadingStart } }