Open kebee-k opened 4 years ago
I'm not sure what your question is - it looks like you have a bug in your code tho, since createCategory
requires that categories
be iterable (arrays are iterable, objects are not) and you're doing both createCategory(category)
and createCategory(category.categories)
.
i try to show by using for ... of statement but is show me error not iterable , i did't what is here is my code categoryAction.js
categoryReducer.js
category/index.js