Skip to content

Commit ba06026

Browse files
authored
Fixed missing action tag in for each store documentation (#1998)
1 parent bcb134b commit ba06026

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Package.resolved

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Sources/ComposableArchitecture/SwiftUI/ForEachStore.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ import SwiftUI
7373
///
7474
/// ```swift
7575
/// ForEachStore(
76-
/// self.store.scope(state: \.todos, AppAction.todo(id:action:))
76+
/// self.store.scope(state: \.todos, action: AppAction.todo(id:action:))
7777
/// ) { todoStore in
7878
/// TodoView(store: todoStore)
7979
/// }

0 commit comments

Comments
 (0)