We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4569fcc commit 132cb3bCopy full SHA for 132cb3b
Sources/ComposableArchitecture/SwiftUI/NavigationDestination.swift
@@ -59,7 +59,8 @@ private struct PresentationNavigationDestinationModifier<
59
wrappedValue: ViewStore(
60
store
61
.filterSend { state, _ in state.wrappedValue != nil }
62
- .scope(state: { $0.wrappedValue.flatMap(toDestinationState) != nil })
+ .scope(state: { $0.wrappedValue.flatMap(toDestinationState) != nil }),
63
+ observe: { $0 }
64
)
65
66
self.toDestinationState = toDestinationState
0 commit comments