Work it out, don't store it

Your task In the code box, remove the total state from Cart({ items }) and work the total out from items on every draw, shown like Total: $123.40. Then press Run my code.

Getting the editor ready