more accurate timer between client and api

This commit is contained in:
2026-02-08 14:16:35 +01:00
parent f944de31e2
commit f57fb22afc
+2 -2
View File
@@ -38,10 +38,10 @@ export async function startRun(
if (!mode) return; if (!mode) return;
let start = Date.now();
const runId = await addRun(problemId, mode); const runId = await addRun(problemId, mode);
let start = Date.now();
currentRun = { currentRun = {
id: runId, id: runId,
problemId, problemId,