Skip to content

Commit dded130

Browse files
committed
Remove unneeded self reference
1 parent ef73e9e commit dded130

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/CoreTypes/Store.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ open class Store<ObservableProperty: ObservablePropertyType> where ObservablePro
2626

2727
public func dispatch(_ actions: Action...) {
2828
actions.forEach { action in
29-
middleware.transform({ self.observable.value }, self.dispatch, action).forEach { action in
29+
middleware.transform({ self.observable.value }, dispatch, action).forEach { action in
3030
observable.value = reducer.transform(action, observable.value)
3131
}
3232
}

0 commit comments

Comments
 (0)