diff --git a/Sources/ComposableArchitecture/Observation/NavigationStack+Observation.swift b/Sources/ComposableArchitecture/Observation/NavigationStack+Observation.swift index 936ecee9d31c..2e3e9bdc2d75 100644 --- a/Sources/ComposableArchitecture/Observation/NavigationStack+Observation.swift +++ b/Sources/ComposableArchitecture/Observation/NavigationStack+Observation.swift @@ -136,7 +136,7 @@ extension NavigationStack { /// this view. public init( path: Binding, StackAction>>, - root: () -> R, + @ViewBuilder root: () -> R, @ViewBuilder destination: @escaping (Store) -> Destination, fileID: StaticString = #fileID, filePath: StaticString = #filePath,