Main Class found. A View.environmentObject(_:) for Main Class may be missing as an ancestor of this view.: file SwiftUI, line 0 code example
Example: A View.environmentObject(_:) for UrlConnect may be missing as an ancestor of this view
.sheet(isPresented: $showEditPage) {
return EditPage().environmentObject(self.networkManager)