mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-05-24 04:22:12 +00:00
Update src/routes/Player/useStatistics.js
Co-authored-by: Timothy Z. <timothy@stremio.com>
This commit is contained in:
parent
dc59cd707f
commit
d223ff6a6f
1 changed files with 1 additions and 1 deletions
|
|
@ -61,7 +61,7 @@ const useStatistics = (player, streamingServer) => {
|
|||
|
||||
const speedScore = Math.min(1, statistics.downloadSpeed / (1 * MB)) * 10;
|
||||
|
||||
return Math.min(99, peerScore + downloadedScore + speedCore);
|
||||
return Math.min(99, peerScore + downloadedScore + speedScore);
|
||||
});
|
||||
}, [statistics]);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue