File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Sources/ComposableArchitecture/Documentation.docc/Articles Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -97,7 +97,7 @@ struct AppView: View {
97
97
98
98
var body: some View {
99
99
WithViewStore (self .store , observe : { $0 }) { viewStore in
100
- TabView (selection : viewStore.binding (send : AppAction.tabSelected ) {
100
+ TabView (selection : viewStore.binding (send : AppAction.tabSelected )) {
101
101
ActivityView (
102
102
store : self .store .scope (state : \.activity , action : AppAction.activity )
103
103
)
@@ -126,7 +126,7 @@ the state the view needs. In this case the view only needs a single field:
126
126
127
127
``` swift
128
128
WithViewStore (self .store , observe : \.selectedTab ) { viewStore in
129
- TabView (selection : viewStore.binding (send : AppAction.tabSelected ) {
129
+ TabView (selection : viewStore.binding (send : AppAction.tabSelected )) {
130
130
// ...
131
131
}
132
132
}
You can’t perform that action at this time.
0 commit comments