X-Git-Url: https://git.r.bdr.sh/rbdr/map/blobdiff_plain/5e8ff4850c4827125fe12788dd5b153c4f636f48..77d0155b661e813a85a7312ed809fc7e5a9f7440:/Map/Views/DefaultMapView.swift?ds=sidebyside diff --git a/Map/Views/DefaultMapView.swift b/Map/Views/DefaultMapView.swift index 66914f1..1f624d2 100644 --- a/Map/Views/DefaultMapView.swift +++ b/Map/Views/DefaultMapView.swift @@ -17,7 +17,7 @@ struct DefaultMapView: View { struct DefaultMapView_Previews: PreviewProvider { static var previews: some View { - MapDetailView(map: Map()).environment( + DefaultMapView().environment( \.managedObjectContext, PersistenceController.preview.container.viewContext) } }