Skip to content

armgit / ente

Public Imported from GitHub
0

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

Fix rerenders on remote sync

Manav Rathica276ba1fe92
diff --git a/web/apps/photos/src/components/PhotoFrame.tsx b/web/apps/photos/src/components/PhotoFrame.tsx
index c6589fedc3..b814fa9d01 100644
--- a/web/apps/photos/src/components/PhotoFrame.tsx
+++ b/web/apps/photos/src/components/PhotoFrame.tsx
@@ -290,7 +290,7 @@ const PhotoFrame = ({
onMarkTempDeleted?.([file]);
}
: undefined;
- }, [favoriteFileIDs, onMarkTempDeleted]);
+ }, [onMarkTempDeleted]);
const handleSaveEditedImageCopy = useCallback(
(editedFile: File, collection: Collection, enteFile: EnteFile) => {