Skip to content
RED SAG Skills
easy5 pts · first answer countsreactconditional-rendering

A stray 0 on the page

When the cart is empty, a "0" shows on the page. Why?

{cart.length && <CartBadge count={cart.length} />}
Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions