import ContactForm from '.';
import submitForm from '@/api/submitForm';

const AsyncContactForm = async (props: IContactForm) => {
  return <ContactForm {...props} onSubmit={submitForm} />;
};

export default AsyncContactForm;
