Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Etx17 opened this issue Nov 29, 2022 · 0 comments

Comments

@Etx17
Copy link

Etx17 commented Nov 29, 2022

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 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant