Skip to content
Snippets Groups Projects
Commit 7154f4f8 authored by timothycarambat's avatar timothycarambat
Browse files

non-blocking send responses

parent a8433390
No related branches found
No related tags found
No related merge requests found
......@@ -28,12 +28,13 @@ function UserQuestionnaire({ nextStep, prevStep }) {
e.preventDefault();
const form = e.target;
const formData = new FormData(form);
nextStep("create_workspace");
await sendQuestionnaire({
email: formData.get("email"),
useCase: formData.get("use_case") || "other",
comment: formData.get("comment") || null,
});
nextStep("create_workspace");
return;
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment