Skip to content

Commit 322e888

Browse files
stephencelisgithub-actions[bot]
authored andcommitted
Run swift-format
1 parent c2a27dc commit 322e888

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Sources/ComposableArchitecture/SwiftUI/ForEachStore.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ public struct ForEachStore<
117117
content(
118118
store.scope(
119119
state: { $0[id: id]! },
120-
id: store.id(state: \.[id: id]!, action: \.[id: id]),
120+
id: store.id(state: \.[id:id]!, action: \.[id:id]),
121121
action: { .element(id: id, action: $0) },
122122
isInvalid: { !$0.ids.contains(id) },
123123
removeDuplicates: nil
@@ -173,7 +173,7 @@ public struct ForEachStore<
173173
content(
174174
store.scope(
175175
state: { $0[id: id]! },
176-
id: store.id(state: \.[id: id]!, action: \.[id: id]),
176+
id: store.id(state: \.[id:id]!, action: \.[id:id]),
177177
action: { (id, $0) },
178178
isInvalid: { !$0.ids.contains(id) },
179179
removeDuplicates: nil

Sources/ComposableArchitecture/SwiftUI/NavigationStackStore.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public struct NavigationStackStore<State, Action, Root: View, Destination: View>
3333
store
3434
.scope(
3535
state: { $0[id: component.id]! },
36-
id: store.id(state: \.[id: component.id]!, action: \.[id: component.id]),
36+
id: store.id(state: \.[id:component.id]!, action: \.[id:component.id]),
3737
action: { .element(id: component.id, action: $0) },
3838
isInvalid: { !$0.ids.contains(component.id) },
3939
removeDuplicates: nil
@@ -69,7 +69,7 @@ public struct NavigationStackStore<State, Action, Root: View, Destination: View>
6969
store
7070
.scope(
7171
state: { $0[id: component.id]! },
72-
id: store.id(state: \.[id: component.id]!, action: \.[id: component.id]),
72+
id: store.id(state: \.[id:component.id]!, action: \.[id:component.id]),
7373
action: { .element(id: component.id, action: $0) },
7474
isInvalid: { !$0.ids.contains(component.id) },
7575
removeDuplicates: nil

0 commit comments

Comments
 (0)