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 Jan 9, 2025
1 parent e2336cc commit 48795d9
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions Sources/ComposableArchitecture/Store.swift
Original file line number Diff line number Diff line change
Expand Up @@ -332,12 +332,11 @@ public final class Store<State, Action> {

@_spi(Internals)
public func scope<ChildState, ChildAction>(
id: ScopeID<State, Action>?,
state: ToState<State, ChildState>,
action fromChildAction: @escaping (ChildAction) -> Action,
isInvalid: ((State) -> Bool)?
) -> Store<ChildState, ChildAction>
{
id: ScopeID<State, Action>?,
state: ToState<State, ChildState>,
action fromChildAction: @escaping (ChildAction) -> Action,
isInvalid: ((State) -> Bool)?
) -> Store<ChildState, ChildAction> {
if self.canCacheChildren,
let id = id,
let childStore = self.children[id] as? Store<ChildState, ChildAction>
Expand Down

0 comments on commit 48795d9

Please sign in to comment.