From cc8cfdff008599d7f32a09959da5ddadd747026f Mon Sep 17 00:00:00 2001 From: Charlotte Tortorella Date: Tue, 6 Aug 2019 19:05:51 +1000 Subject: [PATCH] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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):