actionCategoryUpdate.js 284 B

1234567
  1. import { actionCatAll } from "./actionCatAll";
  2. import { actionCategoryUpsert } from "./actionCategoryUpsert";
  3. export const actionCategoryUpdate = (category) => async (dispatch, getState) => {
  4. await dispatch(actionCategoryUpsert(category));
  5. await dispatch(actionCatAll());
  6. };