Thanks! That worked. I suspected I was overlooking something obvious, and it was that I forgot the context in Previews.
Post
Replies
Boosts
Views
Activity
This may be related to the issue in the release notes.
After deleting an item, SwiftUI may attempt to reference the deleted content during the animation causing a crash. (109838173)
Workaround: Explicitly save after a delete.
I believe this may be related to the issue defined in the release notes.
#Preview can’t reference symbols in Swift type extensions when they are defined in the same module as the Preview (110671628)
Workaround: Revert to using PreviewProvider, or copy the implementation of the extension directly in to the #Preview itself or make it a global symbol
Not sure if you submitted the feedback, but the workaround for the moment is in the release notes.
#Preview can’t reference symbols in Swift type extensions when they are defined in the same module as the Preview (110671628)
Workaround: Revert to using PreviewProvider, or copy the implementation of the extension directly in to the #Preview itself or make it a global symbol