aboutsummaryrefslogtreecommitdiff
path: root/Map/Views/DefaultMapView.swift
diff options
context:
space:
mode:
Diffstat (limited to 'Map/Views/DefaultMapView.swift')
-rw-r--r--Map/Views/DefaultMapView.swift2
1 files changed, 1 insertions, 1 deletions
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)
}
}