I have the following onSubmit handler for my form:
onSubmit
try { const data = await api.post(\'/auth/signup\', { ...values, });