mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
Update src/networkStats.ts
This commit is contained in:
parent
f676a20332
commit
156073a407
1 changed files with 1 additions and 1 deletions
|
@ -60,7 +60,7 @@ export const simulatePing = async () => {
|
||||||
});
|
});
|
||||||
const endTime = new Date().getTime();
|
const endTime = new Date().getTime();
|
||||||
return endTime - startTime;
|
return endTime - startTime;
|
||||||
} catch (e) {
|
} catch (error) {
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue