1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2026-04-21 22:05:38 -04:00

Update UI dependencies

This commit is contained in:
Bogdan
2023-05-13 03:24:50 +03:00
committed by Mark McDowall
parent 3840e97da2
commit 3508cb63dc
3 changed files with 275 additions and 305 deletions
+3 -3
View File
@@ -1,4 +1,4 @@
import filesize from 'filesize';
import { filesize } from 'filesize';
function formatBytes(input) {
const size = Number(input);
@@ -7,10 +7,10 @@ function formatBytes(input) {
return '';
}
return filesize(size, {
return `${filesize(size, {
base: 2,
round: 1
});
})}`;
}
export default formatBytes;