Skip to content

armgit / ente

Public Imported from GitHub
0

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

Silence a warning to avoid changing behaviour for now

Manav Rathid4be782b9cae
diff --git a/web/packages/new/photos/components/PeopleList.tsx b/web/packages/new/photos/components/PeopleList.tsx
index 964f93a9f6..7b9a1369a0 100644
--- a/web/packages/new/photos/components/PeopleList.tsx
+++ b/web/packages/new/photos/components/PeopleList.tsx
@@ -152,6 +152,9 @@ const FaceCropImageView: React.FC<FaceCropImageViewProps> = ({ faceID }) => {
didCancel = true;
if (objectURL) URL.revokeObjectURL(objectURL);
};
+ // TODO: The linter warning is actually correct, objectURL should be a
+ // dependency, but adding that require reworking this code first.
+ // eslint-disable-next-line react-hooks/exhaustive-deps
}, [faceID]);
return objectURL ? (