Skip to content

Student context tray not works #20

Description

@dqcuong93

When I click on the student, the student context tray generates this error:

POST https://lms.classon.edu.vn/api/graphql 500 (Internal Server Error)

react-dom.production.min.js:209 TypeError: Cannot destructure property 'course' of 't' as it is undefined.
at GraphQLStudentContextTray.js:116:16
at s (react-components.esm.js:9:33)
at fo (react-dom.production.min.js:153:146)
at es (react-dom.production.min.js:175:309)
at $c (react-dom.production.min.js:263:406)
at Bc (react-dom.production.min.js:246:265)
at Ic (react-dom.production.min.js:246:194)
at Tc (react-dom.production.min.js:239:172)
at react-dom.production.min.js:123:115
at t.unstable_runWithPriority (scheduler.production.min.js:19:467)

Observable.js:65 Uncaught TypeError: Cannot destructure property 'course' of 't' as it is undefined.
at GraphQLStudentContextTray.js:116:16
at s (react-components.esm.js:9:33)
at fo (react-dom.production.min.js:153:146)
at es (react-dom.production.min.js:175:309)
at $c (react-dom.production.min.js:263:406)
at Bc (react-dom.production.min.js:246:265)
at Ic (react-dom.production.min.js:246:194)
at Tc (react-dom.production.min.js:239:172)
at react-dom.production.min.js:123:115
at t.unstable_runWithPriority (scheduler.production.min.js:19:467)

The picture below shows the errors I have met:
Screen Shot 2022-04-21 at 22 33 55

Please help. Thank you in advance.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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