export const term = (state: string = '', action: Action ) => {

  types.push(action.type);

  switch (action.type) {