diff --git a/web/apps/photos/src/components/ml/PeopleList.tsx b/web/apps/photos/src/components/ml/PeopleList.tsx
index 09d9ebaafe..3748c0d8c3 100644
--- a/web/apps/photos/src/components/ml/PeopleList.tsx
+++ b/web/apps/photos/src/components/ml/PeopleList.tsx
@@ -58,7 +58,7 @@ export const PeopleList = React.memo((props: PeopleListProps) => {
}
>
@@ -137,7 +137,7 @@ export function UnidentifiedFaces(props: {
faces.map((face, index) => (
@@ -148,12 +148,12 @@ export function UnidentifiedFaces(props: {
}
interface FaceCropImageViewProps {
- faceId: string;
+ faceID: string;
cacheKey?: string;
}
const FaceCropImageView: React.FC = ({
- faceId,
+ faceID,
cacheKey,
}) => {
const [objectURL, setObjectURL] = useState();
@@ -162,9 +162,9 @@ const FaceCropImageView: React.FC = ({
let didCancel = false;
const electron = globalThis.electron;
- if (cacheKey && electron) {
+ if (faceID && electron) {
electron
- .legacyFaceCrop(cacheKey)
+ .legacyFaceCrop(faceID)
/*
cachedOrNew("face-crops", cacheKey, async () => {
const user = await ensureLocalUser();
@@ -184,7 +184,7 @@ const FaceCropImageView: React.FC = ({
didCancel = true;
if (objectURL) URL.revokeObjectURL(objectURL);
};
- }, [faceId, cacheKey]);
+ }, [faceID, cacheKey]);
return objectURL ? (