freeCodeCamp / freeCodeCamp/classroom

Bug: /classes page crashes if the mock-fcc-data endpoint is not running

Open
#533 2 comments 0 reactions 0 assignees View on GitHub
CTI good first issue
Dominant language
JavaScript
Stars
155
Forks
138
PR merge metrics
No merged PRs in 30d

Description

Currently if you do not run the mock-fcc-data endpoint and navigate to the /classes page, you will see the following error:

Image

**Desired behavior:**

The app should not crash. Instead, show an empty table. You may also want to consider what happens if there is real data in the table along with the mock data. Does the page correctly display both?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.