Skip to content

Commit 8f19bf8

Browse files
stephencelisgithub-actions[bot]
authored andcommitted
Run swift-format
1 parent fbe6847 commit 8f19bf8

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Sources/ComposableArchitecture/ViewStore.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -468,8 +468,8 @@ public final class ViewStore<ViewState, ViewAction>: ObservableObject {
468468
) -> Binding<Value> {
469469
@ObservedState var val = get(self.state)
470470
return .init(
471-
get: { [$val] in $val.wrappedValue },
472-
set: { [weak self] in self?.send(valueToAction($0)) }
471+
get: { [$val] in $val.wrappedValue },
472+
set: { [weak self] in self?.send(valueToAction($0)) }
473473
)
474474
}
475475

@@ -757,12 +757,12 @@ final private class ValueWrapper<V>: ObservableObject {
757757

758758
@propertyWrapper private struct ObservedState<Value>: DynamicProperty {
759759
@ObservedObject private var box: ValueWrapper<Value>
760-
760+
761761
var wrappedValue: Value {
762762
get { box.value }
763763
nonmutating set { box.value = newValue }
764764
}
765-
765+
766766
var projectedValue: Binding<Value> {
767767
.init(
768768
get: { wrappedValue },

0 commit comments

Comments
 (0)