I am working with SwiftUI and wrote the following example to present an issue I'm experiencing. When I add multiple Buttons, or multiple Texts, it creates two separate previews, but when I run the application on a device they load simultaneously. Attached here is a photo:
I cleaned my build folder, restarted my computer, and tried this on various other SwiftUI files but no success. Any ideas?
