From d02cbad01f3abfa8a1aad0b55b8bd9cf544090cf Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Thu, 20 Jul 2017 17:56:19 +0200 Subject: disabled links --- client/reducers/tasks.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'client/reducers') diff --git a/client/reducers/tasks.js b/client/reducers/tasks.js index c5f2c06..9c2b0b4 100644 --- a/client/reducers/tasks.js +++ b/client/reducers/tasks.js @@ -1,4 +1,3 @@ -// import { addTask } from '../actions' import client from '../client' const tasks = (state = [], action) => { @@ -9,7 +8,7 @@ const tasks = (state = [], action) => { case 'ADD_TASK': return [action.task].concat(state) - case 'TASK_UPDATED': + case 'UPDATE_TASK': const updated_tasks = state.map(task => { if (task.id == id) { return task -- cgit v1.2.3-70-g09d2