mirror of
https://github.com/Hestia-Homes/assessment-model.git
synced 2026-06-08 11:37:25 +00:00
dont wait for api response before closing form and showing toast
This commit is contained in:
parent
c69d00250a
commit
d1edf1cba5
1 changed files with 2 additions and 1 deletions
|
|
@ -174,7 +174,8 @@ export function RecommendationsOptions({
|
|||
|
||||
const payload = mapScenariosToPayload(selectedScenarios, portfolioId);
|
||||
|
||||
const response = await fetch("/api/plan/categorisation", {
|
||||
// don't worry about waiting for this response
|
||||
fetch("/api/plan/categorisation", {
|
||||
method: "POST",
|
||||
headers: { "Content-Type": "application/json" },
|
||||
body: JSON.stringify(payload)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue