X-Git-Url: https://git.r.bdr.sh/rbdr/map/blobdiff_plain/5e8ff4850c4827125fe12788dd5b153c4f636f48..75a0e4509a70055851b085f3f7293ae1cf48164c:/Map/Views/DefaultMapView.swift 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) } }