Feature/4 pilots add #20

Merged
noahspannbauer merged 64 commits from feature/4-pilots---add into main 2024-09-23 21:52:59 -04:00
2 changed files with 7 additions and 7 deletions
Showing only changes of commit 2cffcc5180 - Show all commits

View File

@@ -28,7 +28,7 @@ const PilotFormCertificates: React.FC<IPilotFormCertificates> = ({
{fields.map((field, index) => {
return (
<>
<div>
<div className="col-span-1">
<Controller
name={`certificates.${index}.type`}
control={control}
@@ -55,7 +55,7 @@ const PilotFormCertificates: React.FC<IPilotFormCertificates> = ({
}}
/>
</div>
<div>
<div className="col-span-1">
<Controller
name={`certificates.${index}.number`}
control={control}
@@ -64,7 +64,7 @@ const PilotFormCertificates: React.FC<IPilotFormCertificates> = ({
}}
/>
</div>
<div>
<div className="col-span-1">
<Controller
name={`certificates.${index}.dateOfIssue`}
control={control}
@@ -82,7 +82,7 @@ const PilotFormCertificates: React.FC<IPilotFormCertificates> = ({
}}
/>
</div>
<div>
<div className="col-span-1">
<Button onClick={() => remove(index)}>Remove</Button>
</div>
</>

View File

@@ -28,7 +28,7 @@ const PilotFormEndorsements: React.FC<IPilotFormEndorsements> = ({
{fields.map((field, index) => {
return (
<>
<div>
<div className="col-span-1">
<Controller
name={`endorsements.${index}.type`}
control={control}
@@ -52,7 +52,7 @@ const PilotFormEndorsements: React.FC<IPilotFormEndorsements> = ({
}}
/>
</div>
<div>
<div className="col-span-1">
<Controller
name={`endorsements.${index}.dateOfIssue`}
control={control}
@@ -70,7 +70,7 @@ const PilotFormEndorsements: React.FC<IPilotFormEndorsements> = ({
}}
/>
</div>
<div>
<div className="col-span-1">
<Button onClick={() => remove(index)}>Remove</Button>
</div>
</>