Still logging "return data is undefined" even null data is returned in useQuery ( Next.js) #5893
-
Describe the bugWhen fetching data with useQuery and Data have error . In console log it says undefined is returned . VersionLatest |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
Hello, Can you show the definition of your |
Beta Was this translation helpful? Give feedback.
-
Currently this fetching will get error because of quota limit of Firebase |
Beta Was this translation helpful? Give feedback.
-
What is the value of |
Beta Was this translation helpful? Give feedback.
What is the value of
uid
? If it is a falsy value, you enter in yourif
statement and actually returnundefined