export const RECIEVE_QUERY = 'RECIEVE_QUERY';

export function fetchQuery(query) {
  return {
    type: RECIEVE_QUERY,
    payload: query
  };
}

export const RECEIVE_QUERIES = 'RECEIVE_QUERIES';

export function fetchQuery(query) {
  return {
    type: RECEIVE_QUERIES,
    payload: query
  };
}

rename action