export default (customer) => {
  const result = {
    firstName,
    email,
    lastName,
    password,
    passwordConfirmation,
  } = customer

  result.business = {
    companyName,
    companyAddress,
    companyCity,
    companyZip,
    companyState,
    license,
  } = customer;

  console.log('result', result);

  return result;
};

export default (customer) => {
  const {
    firstName,
    email,
    lastName,
    password,
    passwordConfirmation,
    companyName,
    companyAddress,
    companyCity,
    companyZip,
    companyState,
    license,
  } = customer;

  const result = {
    firstName,
    email,
    lastName,
    password,
    passwordConfirmation,
  };

  result.business = {
    companyName,
    companyAddress,
    companyCity,
    companyZip,
    companyState,
    license,
  };

  console.log('result', result);

  return result;
};

Add address to professional signup
Add address to professional signup
