DEV Community

Discussion on: How to use the `reduce` Method in JavaScript (and React)

Collapse
 
yogesnsamy profile image
yogesnsamy • Edited

Could you see what you're sending as prop from App?

I'm sending it as the following and just tested that it works:
<Total parts={course.parts} />