We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
- Issue located in: /client/src/pages/Home
const { loading, data: { getPosts: posts } } = useQuery(FETCH_POSTS_QUERY);
-Issue description: 'data' is not defined (twice) 馃槩
-Context: I think the problem is due to the migration to @apollo/client 3.0 (they've discussed something about some changes regarding loading / data)
-How I solved it: :
const{ loading, data={} } = useQuery(FETCH_POSTS_QUERY); const posts = data.getPosts;
The text was updated successfully, but these errors were encountered:
I was having this same problem 侃(汀喙徧∴箯)鄱
Sorry, something went wrong.
No branches or pull requests
- Issue located in: /client/src/pages/Home
-Issue description: 'data' is not defined (twice) 馃槩
-Context: I think the problem is due to the migration to @apollo/client 3.0 (they've discussed something about some changes regarding loading / data)
-How I solved it: :
The text was updated successfully, but these errors were encountered: