more accurate timer between client and api
This commit is contained in:
+2
-2
@@ -38,10 +38,10 @@ export async function startRun(
|
||||
|
||||
if (!mode) return;
|
||||
|
||||
let start = Date.now();
|
||||
|
||||
const runId = await addRun(problemId, mode);
|
||||
|
||||
let start = Date.now();
|
||||
|
||||
currentRun = {
|
||||
id: runId,
|
||||
problemId,
|
||||
|
||||
Reference in New Issue
Block a user