mirror of
https://github.com/Mintplex-Labs/anything-llm.git
synced 2025-05-02 17:07:13 +00:00
non-blocking send responses
This commit is contained in:
parent
a84333901a
commit
7154f4f82b
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue