diff --git a/navitest/Views/ContentView.swift b/navitest/Views/ContentView.swift index 5491823..50eff14 100644 --- a/navitest/Views/ContentView.swift +++ b/navitest/Views/ContentView.swift @@ -26,7 +26,7 @@ class Coordinator: ObservableObject { struct ContentView: View { - @ObservedObject private var model = Coordinator() + @StateObject private var model = Coordinator() var body: some View { NavigationStack(path: $model.path) {