Manav Rathi vor 1 Jahr
Ursprung
Commit
1b3c38d91f
1 geänderte Dateien mit 3 neuen und 0 gelöschten Zeilen
  1. 3 0
      web/apps/photos/src/components/Upload/Uploader.tsx

+ 3 - 0
web/apps/photos/src/components/Upload/Uploader.tsx

@@ -131,6 +131,7 @@ export default function Uploader(props: Props) {
     const closeUploadProgress = () => setUploadProgressView(false);
     const showUserNameInputDialog = () => setUserNameInputDialogView(true);
 
+    // eslint-disable-next-line @typescript-eslint/no-unused-vars
     const setCollectionName = (collectionName: string) => {
         isPendingDesktopUpload.current = true;
         pendingDesktopUploadCollectionName.current = collectionName;
@@ -185,11 +186,13 @@ export default function Uploader(props: Props) {
                         );
                     }
                 });
+            /* TODO(MR): This is the connection point, implement
             watcher.init(
                 setElectronFiles,
                 setCollectionName,
                 props.syncWithRemote,
             );
+            */
         }
     }, [
         publicCollectionGalleryContext.accessedThroughSharedURL,