Skip to content

Commit 48795d9

Browse files
stephencelisgithub-actions[bot]
authored andcommitted
Run swift-format
1 parent e2336cc commit 48795d9

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

Sources/ComposableArchitecture/Store.swift

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -332,12 +332,11 @@ public final class Store<State, Action> {
332332

333333
@_spi(Internals)
334334
public func scope<ChildState, ChildAction>(
335-
id: ScopeID<State, Action>?,
336-
state: ToState<State, ChildState>,
337-
action fromChildAction: @escaping (ChildAction) -> Action,
338-
isInvalid: ((State) -> Bool)?
339-
) -> Store<ChildState, ChildAction>
340-
{
335+
id: ScopeID<State, Action>?,
336+
state: ToState<State, ChildState>,
337+
action fromChildAction: @escaping (ChildAction) -> Action,
338+
isInvalid: ((State) -> Bool)?
339+
) -> Store<ChildState, ChildAction> {
341340
if self.canCacheChildren,
342341
let id = id,
343342
let childStore = self.children[id] as? Store<ChildState, ChildAction>

0 commit comments

Comments
 (0)