How can we use isTotalHidden to toggle between hiding and showing the total when clicking on the cart?

By setting isTotalHidden to its opposite every time we click the cartBy always setting isTotalHidden to trueBy deleting the cartItems array

By setting isTotalHidden to its opposite every time we click the cart.