feat(strings): remove empty space from bytesToSize function

This commit is contained in:
Aminejv 2021-08-24 20:21:39 +01:00
parent d8ffba9251
commit 80a503d416

View File

@ -182,7 +182,7 @@ export const bytesToSize = (bytes, decimals = 2) => {
const i = Math.floor(Math.log(bytes) / Math.log(k));
return `${(bytes / Math.pow(k, i)).toFixed(dm)} ${sizes[i]}`;
return `${(bytes / Math.pow(k, i)).toFixed(dm)}${sizes[i]}`;
};
export const getRemainingTime = (seconds) => {