Skip to content

Commit

Permalink
Fix codes in DocC (#2242)
Browse files Browse the repository at this point in the history
* Update Performance.md

* Update Performance.md
  • Loading branch information
yimajo authored Jun 29, 2023
1 parent 89f80fe commit 32f9659
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ struct AppView: View {
var body: some View {
WithViewStore(self.store, observe: { $0 }) { viewStore in
TabView(
selection: viewStore.binding(state: \.selectedTab, send: AppFeature.Action.tabSelected
selection: viewStore.binding(get: \.selectedTab, send: AppFeature.Action.tabSelected)
) {
ActivityView(
store: self.store.scope(state: \.activity, action: AppFeature.Action.activity)
Expand Down Expand Up @@ -157,7 +157,7 @@ WithViewStore(
observe: { (selectedTab: $0.selectedTab, unreadActivityCount: $0.activity.unreadCount) },
removeDuplicates: ==
) { viewStore in
TabView(selection: viewStore.binding(\.selectedTab, send: AppFeature.Action.tabSelected) {
TabView(selection: viewStore.binding(get: \.selectedTab, send: AppFeature.Action.tabSelected)) {
ActivityView(
store: self.store.scope(state: \.activity, action: AppFeature.Action.activity)
)
Expand Down

0 comments on commit 32f9659

Please sign in to comment.