This commit is contained in:
Manav Rathi 2024-04-19 12:40:19 +05:30
parent f3e1abfaa1
commit 1b3c38d91f
No known key found for this signature in database

View file

@ -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,