mirror of
https://github.com/excalidraw/excalidraw
synced 2025-07-25 13:58:22 +08:00
Update src/networkStats.ts
This commit is contained in:
@ -60,7 +60,7 @@ export const simulatePing = async () => {
|
||||
});
|
||||
const endTime = new Date().getTime();
|
||||
return endTime - startTime;
|
||||
} catch (e) {
|
||||
} catch (error) {
|
||||
return -1;
|
||||
}
|
||||
};
|
||||
|
Reference in New Issue
Block a user