Skip to content

Commit a006568

Browse files
authored
Fix Performance.md brackets (#1446)
1 parent 15e69c7 commit a006568

File tree

1 file changed

+2
-2
lines changed
  • Sources/ComposableArchitecture/Documentation.docc/Articles

1 file changed

+2
-2
lines changed

Sources/ComposableArchitecture/Documentation.docc/Articles/Performance.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ struct AppView: View {
9797

9898
var body: some View {
9999
WithViewStore(self.store, observe: { $0 }) { viewStore in
100-
TabView(selection: viewStore.binding(send: AppAction.tabSelected) {
100+
TabView(selection: viewStore.binding(send: AppAction.tabSelected)) {
101101
ActivityView(
102102
store: self.store.scope(state: \.activity, action: AppAction.activity)
103103
)
@@ -126,7 +126,7 @@ the state the view needs. In this case the view only needs a single field:
126126

127127
```swift
128128
WithViewStore(self.store, observe: \.selectedTab) { viewStore in
129-
TabView(selection: viewStore.binding(send: AppAction.tabSelected) {
129+
TabView(selection: viewStore.binding(send: AppAction.tabSelected)) {
130130
// ...
131131
}
132132
}

0 commit comments

Comments
 (0)