Skip to content

Commit

Permalink
fixed minor bug in step 4 (placement)
Browse files Browse the repository at this point in the history
  • Loading branch information
AkshatGupta15 committed Jun 19, 2024
1 parent f84f46c commit 1d58de3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 10 deletions.
8 changes: 3 additions & 5 deletions pages/admin/rc/[rcid]/proforma/[proformaid]/step4.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -102,11 +102,9 @@ function Step4() {
fullWidth
multiline
variant="standard"
error={!!errors.medical_requirements}
helperText={
errors.medical_requirements && "This field is required"
}
{...register("medical_requirements")}
error={!!errors.ctc_fr}
helperText={errors.ctc_fr && "This field is required"}
{...register("ctc_fr")}
/>
</FormControl>
{fetchData.ID !== 0 && (
Expand Down
8 changes: 3 additions & 5 deletions pages/company/rc/[rcid]/proforma/[proformaid]/step4.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -103,11 +103,9 @@ function Step4() {
fullWidth
multiline
variant="standard"
error={!!errors.medical_requirements}
helperText={
errors.medical_requirements && "This field is required"
}
{...register("medical_requirements")}
error={!!errors.ctc_fr}
helperText={errors.ctc_fr && "This field is required"}
{...register("ctc_fr")}
/>
</FormControl>
{fetchData.ID !== 0 && (
Expand Down

0 comments on commit 1d58de3

Please sign in to comment.