const menu = { set: (data = {}) => async (dispatch) => await dispatch({ type: "menu/set", data }), }; export default menu;