chore: fix frontend lint

This commit is contained in:
Oleg Lobanov
2024-08-18 13:51:16 +02:00
parent 090272e3b7
commit 83898d616f
9 changed files with 53 additions and 50 deletions

View File

@@ -22,7 +22,7 @@ function formatSize(bytes: number): string {
const i = Math.floor(Math.log(bytes) / Math.log(k));
// Return the rounded size with two decimal places
return (bytes / k ** i).toFixed(2) + " " + sizes[i];
return (bytes / k ** i).toFixed(2) + " " + sizes[i];
}
export const useUploadStore = defineStore("upload", {