Skip to content

Unhandled Rejection (TypeError): Cannot read property 'organization' of undefined #15

@letakeda

Description

@letakeda

I´m receiving this error in the exercise 2:

App.
src/App.js:47
44 | };
45 |
46 | const resolveIssuesQuery = queryResult => () => ({

47 | organization: queryResult.data.data.organization,
48 | errors: queryResult.data.errors,
49 | });
50 |
View compiled
▶ 20 stack frames were collapsed.
(anonymous function)
src/App.js:73

After removing the extra word "data" it looks like fixed, however, my App does not work, there is no action or result after press the submit button but it can be another issue.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions