aboutsummaryrefslogtreecommitdiff
path: root/Map/Presentation/MapEditor.swift
diff options
context:
space:
mode:
Diffstat (limited to 'Map/Presentation/MapEditor.swift')
-rw-r--r--Map/Presentation/MapEditor.swift2
1 files changed, 1 insertions, 1 deletions
diff --git a/Map/Presentation/MapEditor.swift b/Map/Presentation/MapEditor.swift
index 5005a73..fe10427 100644
--- a/Map/Presentation/MapEditor.swift
+++ b/Map/Presentation/MapEditor.swift
@@ -182,5 +182,5 @@ struct MapEditor: View {
}
#Preview {
- MapEditor(document: .constant(MapDocument()), url: URL(filePath: "test.wmap")!)
+ MapEditor(document: .constant(MapDocument(text: nil)), url: URL(filePath: "test.wmap")!)
}