diff --git a/README.md b/README.md index 4a6713d..3ea79c9 100644 --- a/README.md +++ b/README.md @@ -36,7 +36,7 @@ enum AppAction: Action { Your reducer needs to respond to these different actions, that can be done by switching over the value of action: ```swift -let appReducer: Reducer { action, state in +let appReducer: Reducer { state, action in var state = state switch action { case .modify(.increase):