export const ADD_UNDO = 'ADD_UNDO';
export const addUndo = ({ title, undoCall, params }) => ({
  type: ADD_UNDO,
  title,
  undoCall,
  params,
});

export const REMOVE_UNDO = 'REMOVE_UNDO';
export const removeUndo = ({ id }) => ({
  type: REMOVE_UNDO,
  id,
});
