Skip to content

armgit / ente

Public Imported from GitHub
0

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

[web][locker] Use an ordinary upload helper comment

Aswin Asok78676a84a3fa
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 ac0c6e9dcf..f2b9942c0a 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,7 @@ 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. */
+// 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, {