boolean-uk / team-dev-frontend-client

1 stars 11 forks source link

Bug - app breaks when adding new post #249

Closed MattVwaves closed 1 year ago

MattVwaves commented 1 year ago

When adding a new post the following error appears:

length error

To fix the bug the commentsList code needs to be reviewed, probably with console logs to determine the cause.

Auenc commented 1 year ago

The cause will likely be that you're using data somewhere without checking if that data exists.

Added a null check in CommentList will likely be the fix!