Skip to content

Commit

Permalink
Updates to Formula Screens pr to avoid UI crashing (#1604)
Browse files Browse the repository at this point in the history
  • Loading branch information
nipunarora-eGov authored Oct 22, 2024
1 parent 926b625 commit f82c5cb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,6 @@ const handleStepClick = (step)=>{
};
}, [formulaInternalKey]);

useEffect(() => {
useEffect(() => {
window.addEventListener("isFormulaLastStep", isFormulaLastStep);
return () => {
Expand Down Expand Up @@ -435,7 +434,7 @@ return (




}


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -490,6 +490,10 @@ const createUpdatePlanProject = async (req) => {
// "verificationDocuments": null,
// "rating": null
},
additionalDetails:{
...fetchedPlanForSummary.additionalDetails,
setupCompleted:true,//we can put this in url when we come from microplan search screen to disable routing to other screens -> Only summary screen should show, or only allowed screens should show
}
};
const planResForCompleteSetup = await updatePlan(updatedReqForCompleteSetup);
//here do cleanup activity and go to next screen
Expand Down

0 comments on commit f82c5cb

Please sign in to comment.