import { actions } from '../constants/actions';
import { fetchPage } from './pageActions';

export function editTitle() {
  return {
    type: actions.EDIT_TITLE
  };
}

export function saveTitle(title) {
  return {
    type: actions.SAVE_TITLE,
    title: title
  };
}
