Update docs to use case key paths

This commit is contained in:
Stephen Celis
2023-12-01 18:31:21 -08:00
parent 1590846afc
commit f19af6ca5b
5 changed files with 5 additions and 5 deletions

View File

@@ -20,7 +20,7 @@ extension Store {
/// func viewDidLoad() {
/// // ...
/// self.store
/// .scope(state: \.optionalChild, action: { .child($0) })
/// .scope(state: \.optionalChild, action: \.child)
/// .ifLet(
/// then: { [weak self] childStore in
/// self?.navigationController?.pushViewController(