From 417388677d76ffddf62811ab3028bd1feb68af61 Mon Sep 17 00:00:00 2001 From: Dan Abramov Date: Wed, 13 Apr 2016 00:09:26 +0100 Subject: [PATCH] Minor fix --- reducers/todos.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/reducers/todos.js b/reducers/todos.js index 97ecc5f..6f95f94 100644 --- a/reducers/todos.js +++ b/reducers/todos.js @@ -19,8 +19,9 @@ function todo(state, action) { switch (action.type) { case ADD_TODO: return { + text: action.text, id: action.id, - text: action.text + relatedId: null } case EDIT_TODO: return {