Jak filtrować elementy w stanie React
{...state,currentMenu: action.menu.filter((menu) =>
state.currentCategoryId == menu.category_id)}
tinydev
{...state,currentMenu: action.menu.filter((menu) =>
state.currentCategoryId == menu.category_id)}