Figured out how to post a video:
https://gemoo.com/tools/upload-video/share/641405490124906496?codeId=vJ3lrB8A76mew&card=641405487482494976&origin=videolinkgenerator
This video demonstrates the error
Post
Replies
Boosts
Views
Activity
Does anyone have any idea what's going on? I don't know why my changes to the array don't "save" whenever I switch views. This has been driving me insane for weeks
I figured it out! It turns out that when I called the .environment on the main app struct, I directly called CartManager() instead of cartManager. I think this is because of when I transitioned to the new Observed macro, I deleted the Object part of the .environmentObject that I had before, but I didn't change what was being called inside the parentheses.
Before:
After: