From 1391bd25ae6d8f522bc016807a7768c337b3ed23 Mon Sep 17 00:00:00 2001 From: Ken Date: Tue, 26 Feb 2019 23:09:02 -0800 Subject: [PATCH] more exercise in 2.9 --- step2-09/exercise/src/actions/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/step2-09/exercise/src/actions/index.ts b/step2-09/exercise/src/actions/index.ts index 9a988ce..a1d3b48 100644 --- a/step2-09/exercise/src/actions/index.ts +++ b/step2-09/exercise/src/actions/index.ts @@ -15,7 +15,7 @@ export const actionsWithService = { return async (dispatch: any, getState: () => Store) => { // Replace the return true with: // 1. first call the actions.addTodo() function - // 2. store the resultant id + // 2. store the resultant id (because the id was generated by that addTodo() call) // 3. dispatch the action message generated by that call // 4. pass the id and the todo from the state into the service call service.add() return true;