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
3 changed files with 4 additions and 4 deletions
Showing only changes of commit d920220168 - Show all commits

View File

@@ -166,7 +166,7 @@ const PilotForm: React.FC<unknown> = () => {
<Controller
name="medicalExpiration"
control={control}
render={({ field }) => <DatePicker />}
render={() => <DatePicker />}
/>
</div>
</AccordionBody>

View File

@@ -59,7 +59,7 @@ const PilotFormCertificates: React.FC<IPilotFormCertificates> = ({
<Controller
name={`certificates.${index}.number`}
control={control}
render={({ field }) => {
render={() => {
return <Input label="Number" {...field} />;
}}
/>
@@ -68,7 +68,7 @@ const PilotFormCertificates: React.FC<IPilotFormCertificates> = ({
<Controller
name={`certificates.${index}.dateOfIssue`}
control={control}
render={({ field }) => {
render={() => {
return <DatePicker />;
}}
/>

View File

@@ -65,7 +65,7 @@ const PilotFormEndorsements: React.FC<IPilotFormEndorsements> = ({
<Controller
name={`endorsements.${index}.dateOfIssue`}
control={control}
render={({ field }) => {
render={() => {
return <DatePicker />;
}}
/>