aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/collections
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/views/collections')
-rw-r--r--src/client/views/collections/collectionFreeForm/FaceCollectionBox.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/collections/collectionFreeForm/FaceCollectionBox.tsx b/src/client/views/collections/collectionFreeForm/FaceCollectionBox.tsx
index 46d90db86..de7c2c027 100644
--- a/src/client/views/collections/collectionFreeForm/FaceCollectionBox.tsx
+++ b/src/client/views/collections/collectionFreeForm/FaceCollectionBox.tsx
@@ -75,7 +75,7 @@ export class UniqueFaceView extends ObservableReactComponent<UniqueFaceProps> {
const match = faceMatcher.matchDescriptor(new Float32Array(Array.from(face)));
return match.distance < prev.dist ? { dist: match.distance, face_match: face } : prev;
},
- { dist: 1, face_match: new List<number>() as Opt<List<number>> }
+ { dist: 1, face_match: undefined as Opt<List<number>> }
);
// assign the face in the image that's closest to the face collection to be the face that's assigned to the collection