more exercise in 2.9

This commit is contained in:
Ken
2019-02-26 23:09:02 -08:00
parent 8baa405a0d
commit 1391bd25ae

View File

@@ -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;