Skip to content

TypeError: Cannot destructure property organization of 'undefined' or 'null'. #7

Open
@Mountains-and-rivers

Description

@Mountains-and-rivers

html show

←→1 of 2 errors on the page
TypeError: Cannot destructure property `organization` of 'undefined' or 'null'.
(anonymous function)
src/App.js:37
  34 | 
  35 | const App = () => (
  36 |   <Query query={GET_REPOSITORIES_OF_ORGANIZATION}>
> 37 |     {({ data: { organization }, loading }) => {
  38 |       if (loading || !organization) {
  39 |         return <div>Loading ...</div>;
  40 |       }

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