/* Action Type Constants: */

const UPDATE_CATEGORIES = 'UPDATE_CATEGORIES';
const UPDATE_CATEGORY = 'UPDATE_CATEGORY';

/* Action Creators: */

// update all categories in chrome storage
const updateCategories = () => {
  return { type: UPDATE_CATEGORIES };
};

// update individual category in chrome storage
const updateCategory = ( categoryName, tasks) => {
  return { type: UPDATE_CATEGORY };
};

@@ -387,15 +387,126 @@
 CATEGORY
- %7D;
+, payload: %7B categoryName, tasks %7D %7D;%0A%7D;%0A%0Aexport const task_manager_actions = %7B%0A  updateCategories, updateCategory
 %0A%7D;%0A

complete task manager actions creator