loading...

re: How to use the `reduce` Method in JavaScript (and React) VIEW POST

FULL DISCUSSION
 

There is a bug when calling props.parts,
You have to call props.exercises

 

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} />

Code of Conduct Report abuse