This commit is contained in:
Panayiotis Lipiridis 2021-02-07 14:34:33 +02:00
parent 1ca985aa4a
commit dc95cf3447
2 changed files with 3 additions and 3 deletions

View file

@ -363,7 +363,7 @@ export const nFormatter = (num: number, digits: number): string => {
);
};
export const formatSpeed = (speed: number): string => {
export const formatSpeedBytes = (speed: number): string => {
// source: en.wikipedia.org/wiki/Data-rate_units#Conversion_table
const suffix = ["B/s", "kB/s", "MB/s", "GB/s"];
let index = 0;