react-native-cards-swipe icon indicating copy to clipboard operation
react-native-cards-swipe copied to clipboard

renderCard={(card) => issue of undefined object when trying to console.log card.name

Open Etx17 opened this issue 2 years ago • 0 comments

Hi, I'm actually getting the right data when console.log(card), becaus I get what I expect {"_deleted": null, "_lastChangedAt": 1669560158553, "_version": 3, "address": "etidincididuntadipisicingno", etc...}

But if i try to console.log(card.address) I get 'Undefined is not an object'

I'm on React Native, using Expo, having a DynamoDB ( through AWS Amplify) and querying data from DataStore. How could i get my card.address to log properly ?

Etx17 avatar Nov 29 '22 15:11 Etx17