I checked the closed issues. This is different.
Here is the link to the code:
|
const { data, errors } = queryResult.data; |
The problem is when the error occurs, the data will be null. Therefore, data.organization will throw errors -> function resolveIssuesQuery will throw error -> Not yet catch in the if (errors) line
I checked the closed issues. This is different.
Here is the link to the code:
react-graphql-github-vanilla/src/App.js
Line 85 in 907824d
The problem is when the error occurs, the data will be null. Therefore, data.organization will throw errors -> function resolveIssuesQuery will throw error -> Not yet catch in the
if (errors)line