From ddb4f139e57956a96de3597dbc832df6e00bb759 Mon Sep 17 00:00:00 2001 From: "Andrew W. Hill" Date: Tue, 27 Aug 2019 13:55:44 -0700 Subject: [PATCH] Update selectors.ts (#1324) just noticed this was not working, small bug Signed-off-by: andrew --- App/features/contacts/selectors.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/App/features/contacts/selectors.ts b/App/features/contacts/selectors.ts index 8b5bd8b17..8d2c4d1ec 100644 --- a/App/features/contacts/selectors.ts +++ b/App/features/contacts/selectors.ts @@ -89,7 +89,7 @@ export const searchResults = (state: ContactsState) => { const sames = arr.filter( (el, ind) => el.address === current.address && ind > index ) - return sames.length === 1 + return sames.length === 0 }) .map(result => { const selector = makeIsKnown(result.address)