Use string interpolation in formatBytes

Fixes #8519
pull/8521/head
Bogdan 1 year ago
parent 588c8fb074
commit 10bb8fa263

@ -7,10 +7,10 @@ function formatBytes(input) {
return '';
}
return filesize(size, {
return `${filesize(size, {
base: 2,
round: 1
}).toString();
})}`;
}
export default formatBytes;

Loading…
Cancel
Save