From 96a0f3893d7ae442d9c55dfc2a2a8587e0ef06bd Mon Sep 17 00:00:00 2001 From: Noah Spannbauer Date: Sun, 28 Jul 2024 08:48:52 -0500 Subject: [PATCH] adding pilots --- .../PilotFormCertificates.tsx | 29 ++++++++++--------- .../PilotFormEndorsements.tsx | 29 ++++++++++--------- 2 files changed, 30 insertions(+), 28 deletions(-) diff --git a/app/src/components/pilotFormCertificates/PilotFormCertificates.tsx b/app/src/components/pilotFormCertificates/PilotFormCertificates.tsx index 1fb90bf..3f47d3b 100644 --- a/app/src/components/pilotFormCertificates/PilotFormCertificates.tsx +++ b/app/src/components/pilotFormCertificates/PilotFormCertificates.tsx @@ -1,5 +1,4 @@ import { IPilotFormCertificates } from './IPilotFormCertificates'; -// import { Button, DatePicker, Input, Select, SelectItem } from '@nextui-org/react'; import { Button, DatePicker, @@ -24,7 +23,7 @@ const PilotFormCertificates: React.FC = ({ }); return ( -
+ <> {fields.map((field, index) => { return ( <> @@ -88,18 +87,20 @@ const PilotFormCertificates: React.FC = ({ ); })} - -
+
+ +
+ ); }; diff --git a/app/src/components/pilotFormEndorsements/PilotFormEndorsements.tsx b/app/src/components/pilotFormEndorsements/PilotFormEndorsements.tsx index 83e52a5..b169b9d 100644 --- a/app/src/components/pilotFormEndorsements/PilotFormEndorsements.tsx +++ b/app/src/components/pilotFormEndorsements/PilotFormEndorsements.tsx @@ -1,5 +1,4 @@ import { IPilotFormEndorsements } from './IPilotFormEndorsements'; -// import { Button, DatePicker, Input, Select, SelectItem } from '@nextui-org/react'; import { Button, DatePicker, @@ -24,7 +23,7 @@ const PilotFormEndorsements: React.FC = ({ }); return ( -
+ <> {fields.map((field, index) => { return ( <> @@ -76,18 +75,20 @@ const PilotFormEndorsements: React.FC = ({ ); })} - -
+
+ +
+ ); };