diff --git a/part2/src/App.js b/part2/src/App.js index 5e381a0..92f12e1 100644 --- a/part2/src/App.js +++ b/part2/src/App.js @@ -15,6 +15,7 @@ const Content = ({ parts }) => { } const Sum = ({ parts }) => { + // Already used reduce :3 const total = parts.reduce((acc, currVal) => acc + currVal.exercises, 0) return ( The total number of execrcises is {total}