const validate = (values, status) => {

  const errors = {};

  if(status.errors){