Skip to content

armgit / ente

Public Imported from GitHub
0

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

ditto

Manav Rathi5dd097ee0989
diff --git a/web/apps/photos/src/pages/shared-albums.tsx b/web/apps/photos/src/pages/shared-albums.tsx
index 6121f9ad51..0ae7d9292a 100644
--- a/web/apps/photos/src/pages/shared-albums.tsx
+++ b/web/apps/photos/src/pages/shared-albums.tsx
@@ -285,7 +285,7 @@ export default function PublicCollectionGallery() {
);
}, [onAddPhotos]);
- const handleSyncWithRemote = useCallback(async () => {
+ const syncWithRemote = useCallback(async () => {
const collectionUID = getPublicCollectionUID(
credentials.current.accessToken,
);
@@ -367,9 +367,6 @@ export default function PublicCollectionGallery() {
}
}, [showLoadingBar, hideLoadingBar]);
- // TODO: See gallery
- const syncWithRemote = handleSyncWithRemote;
-
// See: [Note: Visual feedback to acknowledge user actions]
const handleVisualFeedback = useCallback(() => {
showLoadingBar();
@@ -523,7 +520,7 @@ export default function PublicCollectionGallery() {
setFilesDownloadProgressAttributesCreator={
setFilesDownloadProgressAttributesCreator
}
- onSyncWithRemote={handleSyncWithRemote}
+ onSyncWithRemote={syncWithRemote}
onVisualFeedback={handleVisualFeedback}
/>
{blockingLoad && <TranslucentLoadingOverlay />}