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 0c88797 commit 004dcbdCopy full SHA for 004dcbd
Sources/ComposableArchitecture/Store.swift
@@ -376,7 +376,7 @@ public final class Store<State, Action>: _Store {
376
public var publisher: StorePublisher<State> {
377
StorePublisher(
378
store: self,
379
- upstream: self.core.didSet.receive(on: UIScheduler.shared).map { self.currentState }
+ upstream: self.core.didSet.receive(on: UIScheduler.shared).map { self.withState(\.self) }
380
)
381
}
382
0 commit comments