This commit is contained in:
Manav Rathi
2024-10-19 17:53:00 +05:30
parent 8e14157c6a
commit dc6ebf6033
2 changed files with 7 additions and 2 deletions

View File

@@ -131,7 +131,12 @@ export default function Deduplicate() {
// there in an ad-hoc manner. For now, this fixes the issue with the
// UI not updating if the user deletes only some of the duplicates.
const collections = await getAllLatestCollections();
await syncFiles("normal", collections, () => {});
await syncFiles(
"normal",
collections,
() => {},
() => {},
);
await syncTrash(collections, () => {});
} catch (e) {
if (

View File

@@ -543,7 +543,7 @@ export default function PublicCollectionGallery() {
uploadCollection={publicCollection}
setLoading={setBlockingLoad}
setShouldDisableDropzone={setShouldDisableDropzone}
setFiles={setPublicFiles}
onUploadFile={(file) => sortFiles([...publicFiles, file])}
uploadTypeSelectorView={uploadTypeSelectorView}
closeUploadTypeSelector={closeUploadTypeSelectorView}
showSessionExpiredMessage={showPublicLinkExpiredMessage}