While reviewing Vue pinia state, a cart total is copied into state. Which action fixes it, and which check proves it worked?
Answer options
- A. Keep the flag in the component
- B. Compute it through a getter
- C. Verify item changes update the total
- D. Implement checkout as an action