Redux News Reader - comments not showing and cannot add new comments

Hi everyone. I’ve been working on this project for a while and I can’t seem to get the comments to appear when clicking on an article. Because of this, I can’t add new comments either (it just says loading comments without actually ever loading the comments). In Comments.js I have printed the value stored in commentsForArticleId but it says undefined (I assume this is the cause of the issue but I’m not 100% sure).

Also, I’m aware that some articles don’t have any comments, but the comments for the Kamala Harris article also don’t show up.

I’ve looked at other solutions posted on the forums and I can’t find anything wrong with my code. If you can please have a look and let me know what I’m missing!

Here’s the link to my code:

In your commentsSlice.js, you have an empty space between / and comments.

const response = await fetch(api/articles/${id}/ comments);