Skip to content

Commit 848d2fb

Browse files
jasdevmluisbrown
authored andcommitted
Fixes small viewStoreself.store typo in AlertState’s docs. (#208)
1 parent 36db2cb commit 848d2fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/ComposableArchitecture/SwiftUI/Alert.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ import SwiftUI
5959
///
6060
/// Button("Delete") { viewStore.send(.deleteTapped) }
6161
/// .alert(
62-
/// viewStore.scope(state: \.alert),
62+
/// self.store.scope(state: \.alert),
6363
/// dismiss: .cancelTapped
6464
/// )
6565
///

0 commit comments

Comments
 (0)