mirror of
https://github.com/pointfreeco/swift-composable-architecture.git
synced 2025-12-24 12:14:25 +01:00
fix: Give internal store an id. (#2908)
This commit is contained in:
@@ -215,7 +215,7 @@ public struct PresentationStore<
|
||||
) -> Content
|
||||
) where State == DestinationState, Action == DestinationAction {
|
||||
let store = store.scope(
|
||||
id: nil,
|
||||
id: store.id(state: \.self, action: \.self),
|
||||
state: ToState(\.self),
|
||||
action: { $0 },
|
||||
isInvalid: { $0.wrappedValue == nil }
|
||||
|
||||
Reference in New Issue
Block a user