1 2 3 4 5 6 7 8 9 10 11 12 13
// import { addTask } from '../actions' import client from '../client' const tasks = (state = {}, action) => { switch (action.type) { case 'LOAD_TASKS': return action.tasks default: return state } } export default tasks