You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

12 lines
290 B

const components = {
list:
(data = {}) =>
async (dispatch) =>
await dispatch({ type: "components/list", data }),
activeComponent:
(data = {}) =>
async (dispatch) =>
await dispatch({ type: "components/activeComponent", data }),
};
export default components;