B
B
Bogdnan1232020-10-03 22:46:51
JavaScript
Bogdnan123, 2020-10-03 22:46:51

Why when I want to get data from an object is it undefined?

I get this response
5f78d4edcdb5f697966203.png
Then I get the data using const { data } = useQuery(getMeData)
AND when I try to use the data , for example data.me.city===undefined

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question