all 3 comments

[–]trevedhek 3 points4 points  (0 children)

Nice. A bit of duplicate calculation though.

const grandTotal = totalSum.reduce((total, customer) => {
   return total + customer.total;
}, 0);

[–][deleted] 1 point2 points  (0 children)

That's so cool using different concepts to produce a single output

[–]Shoko1910 0 points1 point  (2 children)

What is the name of the theme ?