Skip to content

Commit

Permalink
Run swift-format
Browse files Browse the repository at this point in the history
  • Loading branch information
stephencelis authored and github-actions[bot] committed Dec 7, 2023
1 parent c2a27dc commit 322e888
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Sources/ComposableArchitecture/SwiftUI/ForEachStore.swift
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ public struct ForEachStore<
content(
store.scope(
state: { $0[id: id]! },
id: store.id(state: \.[id: id]!, action: \.[id: id]),
id: store.id(state: \.[id:id]!, action: \.[id:id]),
action: { .element(id: id, action: $0) },
isInvalid: { !$0.ids.contains(id) },
removeDuplicates: nil
Expand Down Expand Up @@ -173,7 +173,7 @@ public struct ForEachStore<
content(
store.scope(
state: { $0[id: id]! },
id: store.id(state: \.[id: id]!, action: \.[id: id]),
id: store.id(state: \.[id:id]!, action: \.[id:id]),
action: { (id, $0) },
isInvalid: { !$0.ids.contains(id) },
removeDuplicates: nil
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public struct NavigationStackStore<State, Action, Root: View, Destination: View>
store
.scope(
state: { $0[id: component.id]! },
id: store.id(state: \.[id: component.id]!, action: \.[id: component.id]),
id: store.id(state: \.[id:component.id]!, action: \.[id:component.id]),
action: { .element(id: component.id, action: $0) },
isInvalid: { !$0.ids.contains(component.id) },
removeDuplicates: nil
Expand Down Expand Up @@ -69,7 +69,7 @@ public struct NavigationStackStore<State, Action, Root: View, Destination: View>
store
.scope(
state: { $0[id: component.id]! },
id: store.id(state: \.[id: component.id]!, action: \.[id: component.id]),
id: store.id(state: \.[id:component.id]!, action: \.[id:component.id]),
action: { .element(id: component.id, action: $0) },
isInvalid: { !$0.ids.contains(component.id) },
removeDuplicates: nil
Expand Down

0 comments on commit 322e888

Please sign in to comment.