Skip to content

Commit

Permalink
Remove unneeded self reference
Browse files Browse the repository at this point in the history
  • Loading branch information
Qata committed Jan 23, 2017
1 parent ef73e9e commit dded130
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/CoreTypes/Store.swift
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ open class Store<ObservableProperty: ObservablePropertyType> where ObservablePro

public func dispatch(_ actions: Action...) {
actions.forEach { action in
middleware.transform({ self.observable.value }, self.dispatch, action).forEach { action in
middleware.transform({ self.observable.value }, dispatch, action).forEach { action in
observable.value = reducer.transform(action, observable.value)
}
}
Expand Down

0 comments on commit dded130

Please sign in to comment.