How to remove Preview Duplicates from canvas?

I was practising with SwiftUI and using canvas preview. There's a button to Duplicate Preview (tor right corner above simulator)
How to remove this Duplicated Preview?

Tried selecting the preview and pressing Backspace, cmd+backspace and other possible combinations; choosing another device, relaunching etc

MacOS, 10.15.6
Xcode 12.0





Solved:

Need to delete ContentView() from

Code Block
struct ContentView_Previews: PreviewProvider {
  static var previews: some View {
    Group {
      ContentView()
    }
  }
}


It was too low and didn't fit on the screen so I didn't notice it
I'm also having this issue. You might be able to get the dupe to go away be commenting out the preview code and re-launching Xcode.

I encountered the same problem. thanks for the solution

How to remove Preview Duplicates from canvas?
 
 
Q