Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

[web][locker] Remove upload helper comment

Aswin Asok30e8c71a7f08
diff --git a/web/apps/locker/src/components/create-item/file-upload-helpers.ts b/web/apps/locker/src/components/create-item/file-upload-helpers.ts
index f2b9942c0a..a06986e0aa 100644
--- a/web/apps/locker/src/components/create-item/file-upload-helpers.ts
+++ b/web/apps/locker/src/components/create-item/file-upload-helpers.ts
@@ -125,7 +125,6 @@ export const renamedUploadFileName = (originalName: string, value: string) => {
return new TextEncoder().encode(name).length <= 255 ? name : undefined;
};
-// Keep queue identity and collection assignments tied to the original file.
export const fileForUpload = (item: LockerUploadCandidate) =>
item.uploadName && item.uploadName !== item.file.name
? new File([item.file], item.uploadName, {