chore: fix frontend lint

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

No files matched your search

+1 -1
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", {