Skip to content
New issue

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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Student context tray not works #20

Open
dqcuong93 opened this issue Apr 21, 2022 · 0 comments
Open

Student context tray not works #20

dqcuong93 opened this issue Apr 21, 2022 · 0 comments

Comments

@dqcuong93
Copy link

dqcuong93 commented Apr 21, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant