Skip to content

Commit

Permalink
Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Rushabh2805 committed Oct 12, 2024
1 parent af0c2c3 commit 294a997
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions pages/company/rc/[rcid]/proforma/[proformaid]/step5.tsx
Original file line number Diff line number Diff line change
@@ -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";
Expand Down Expand Up @@ -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"}
Expand Down

0 comments on commit 294a997

Please sign in to comment.