react-google-contacts icon indicating copy to clipboard operation
react-google-contacts copied to clipboard

Cannot convert undefined or null to object

Open EricPuskas opened this issue 5 years ago • 1 comments

Hi! There seems to be an edge case that is not handled. If I have no contacts, then the following error shows up. noContactsErr

EricPuskas avatar Apr 15 '20 11:04 EricPuskas

Good call! Lacking of time right now but PR welcome.

For reference. Need to wrap up https://github.com/kwent/react-google-contacts/blob/master/src/google-contacts.js#L76 in a if condition

kwent avatar May 26 '20 19:05 kwent