diff --git a/pages/company/rc/[rcid]/proforma/[proformaid]/step5.tsx b/pages/company/rc/[rcid]/proforma/[proformaid]/step5.tsx index 4603a17e..bfa78501 100644 --- a/pages/company/rc/[rcid]/proforma/[proformaid]/step5.tsx +++ b/pages/company/rc/[rcid]/proforma/[proformaid]/step5.tsx @@ -1,3 +1,4 @@ +/* eslint-disable eqeqeq */ import AddIcon from "@mui/icons-material/Add"; import AddCircleOutlineIcon from "@mui/icons-material/AddCircleOutline"; import AttachFileIcon from "@mui/icons-material/AttachFile"; @@ -343,9 +344,10 @@ function Step5() { }); setActiveStep(fields.length + 1); } - setActiveStep((prevActiveStep) => prevActiveStep + 1); - } - } + setActiveStep( + (prevActiveStep) => prevActiveStep + 1 + ); + }} sx={{ mt: 1, mr: 1 }} > {index === fields.length - 1 ? "Finish" : "Continue"}