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 4429f7b commit bd29eecCopy full SHA for bd29eec
Sources/ComposableArchitecture/Store.swift
@@ -375,7 +375,7 @@ public final class Store<State, Action>: _Store {
375
public var publisher: StorePublisher<State> {
376
StorePublisher(
377
store: self,
378
- upstream: self.core.didSet.map { self.currentState }
+ upstream: self.core.didSet.map { self.withState(\.self) }
379
)
380
}
381
0 commit comments