From cac9b21135d33ceb5949b9745d3fbfe41f58d9a3 Mon Sep 17 00:00:00 2001 From: Tom Hacohen Date: Sun, 26 Jan 2020 10:48:26 +0200 Subject: [PATCH] AddressBook: fix search when there are contacts with a full name. --- src/components/SearchableAddressBook.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/SearchableAddressBook.tsx b/src/components/SearchableAddressBook.tsx index e47d6b4..3edbe87 100644 --- a/src/components/SearchableAddressBook.tsx +++ b/src/components/SearchableAddressBook.tsx @@ -57,7 +57,7 @@ class SearchableAddressBook extends React.PureComponent { } - ent.fn.match(reg)} {...rest} /> + ent.fn?.match(reg)} {...rest} /> ); }