@@ -207,10 +207,16 @@ const RiderModalInfo: React.FC<ModalFormProps> = ({
207207 ] ;
208208
209209 return (
210- < form onSubmit = { handleSubmit ( beforeSubmit ) } className = "flex flex-col w-full h-full" >
210+ < form
211+ onSubmit = { handleSubmit ( beforeSubmit ) }
212+ className = "flex flex-col w-full h-full"
213+ >
211214 < div className = "mb-6 w-full grid grid-cols-12 gap-5 [@media(max-width:1092px)]:flex [@media(max-width:1092px)]:flex-col [@media(max-width:1092px)]:gap-5" >
212215 < div className = "row-start-1 col-start-1 col-span-4" >
213- < Label className = "block mb-2 font-semibold text-[#333] [@media(max-width:1092px)]:font-bold" htmlFor = "firstName" >
216+ < Label
217+ className = "block mb-2 font-semibold text-[#333] [@media(max-width:1092px)]:font-bold"
218+ htmlFor = "firstName"
219+ >
214220 First Name:{ ' ' }
215221 </ Label >
216222 < Input
@@ -230,7 +236,10 @@ const RiderModalInfo: React.FC<ModalFormProps> = ({
230236 </ div >
231237
232238 < div className = "row-start-1 col-start-5 col-span-3" >
233- < Label className = "block mb-2 font-semibold text-[#333] [@media(max-width:1092px)]:font-bold" htmlFor = "lastName" >
239+ < Label
240+ className = "block mb-2 font-semibold text-[#333] [@media(max-width:1092px)]:font-bold"
241+ htmlFor = "lastName"
242+ >
234243 Last Name:{ ' ' }
235244 </ Label >
236245 < Input
@@ -250,7 +259,10 @@ const RiderModalInfo: React.FC<ModalFormProps> = ({
250259 </ div >
251260
252261 < div className = "row-start-1 col-start-8 col-span-5" >
253- < Label className = "block mb-2 font-semibold text-[#333] [@media(max-width:1092px)]:font-bold" htmlFor = "netid" >
262+ < Label
263+ className = "block mb-2 font-semibold text-[#333] [@media(max-width:1092px)]:font-bold"
264+ htmlFor = "netid"
265+ >
254266 NetID:{ ' ' }
255267 </ Label >
256268 < Input
@@ -264,11 +276,16 @@ const RiderModalInfo: React.FC<ModalFormProps> = ({
264276 className = "w-full"
265277 aria-required = "true"
266278 />
267- { errors . netid && < p className = "text-[#dc3545] text-xs mt-1" > Invalid NetID</ p > }
279+ { errors . netid && (
280+ < p className = "text-[#dc3545] text-xs mt-1" > Invalid NetID</ p >
281+ ) }
268282 </ div >
269283
270284 < div className = "row-start-2 col-start-1 col-span-6" >
271- < Label className = "block mb-2 font-semibold text-[#333] [@media(max-width:1092px)]:font-bold" htmlFor = "phoneNumber" >
285+ < Label
286+ className = "block mb-2 font-semibold text-[#333] [@media(max-width:1092px)]:font-bold"
287+ htmlFor = "phoneNumber"
288+ >
272289 Phone Number:{ ' ' }
273290 </ Label >
274291 < Input
@@ -289,7 +306,10 @@ const RiderModalInfo: React.FC<ModalFormProps> = ({
289306 </ div >
290307
291308 < div className = "row-start-2 col-start-7 col-span-6" >
292- < Label className = "block mb-2 font-semibold text-[#333] [@media(max-width:1092px)]:font-bold" htmlFor = "needs" >
309+ < Label
310+ className = "block mb-2 font-semibold text-[#333] [@media(max-width:1092px)]:font-bold"
311+ htmlFor = "needs"
312+ >
293313 Needs:{ ' ' }
294314 </ Label >
295315 < div className = "flex flex-col gap-2" >
@@ -348,7 +368,9 @@ const RiderModalInfo: React.FC<ModalFormProps> = ({
348368 </ div >
349369 ) }
350370 { errors . needs && (
351- < p className = "text-[#dc3545] text-xs mt-1" > Please select at least one need</ p >
371+ < p className = "text-[#dc3545] text-xs mt-1" >
372+ Please select at least one need
373+ </ p >
352374 ) }
353375 </ div >
354376 </ div >
@@ -357,7 +379,10 @@ const RiderModalInfo: React.FC<ModalFormProps> = ({
357379 < p > Duration</ p >
358380 < div className = "flex gap-5 items-center [@media(max-width:1092px)]:flex-col [@media(max-width:1092px)]:gap-4" >
359381 < div >
360- < Label className = "block mb-2 font-semibold text-[#333] [@media(max-width:1092px)]:font-bold" htmlFor = "joinDate" >
382+ < Label
383+ className = "block mb-2 font-semibold text-[#333] [@media(max-width:1092px)]:font-bold"
384+ htmlFor = "joinDate"
385+ >
361386 Join Date:{ ' ' }
362387 </ Label >
363388 < Input
@@ -369,14 +394,19 @@ const RiderModalInfo: React.FC<ModalFormProps> = ({
369394 className = "w-full min-w-50"
370395 />
371396 { errors . joinDate && (
372- < p className = "text-[#dc3545] text-xs mt-1" > Please enter a join date</ p >
397+ < p className = "text-[#dc3545] text-xs mt-1" >
398+ Please enter a join date
399+ </ p >
373400 ) }
374401 </ div >
375402 < div className = "text-2xl h-full" >
376403 < p > →</ p >
377404 </ div >
378405 < div >
379- < Label className = "block mb-2 font-semibold text-[#333] [@media(max-width:1092px)]:font-bold" htmlFor = "endDate" >
406+ < Label
407+ className = "block mb-2 font-semibold text-[#333] [@media(max-width:1092px)]:font-bold"
408+ htmlFor = "endDate"
409+ >
380410 End Date:{ ' ' }
381411 </ Label >
382412 < Input
@@ -394,7 +424,9 @@ const RiderModalInfo: React.FC<ModalFormProps> = ({
394424 className = "w-full min-w-50"
395425 />
396426 { errors . endDate ?. type === 'required' && (
397- < p className = "text-[#dc3545] text-xs mt-1" > Please enter an end date</ p >
427+ < p className = "text-[#dc3545] text-xs mt-1" >
428+ Please enter an end date
429+ </ p >
398430 ) }
399431 { errors . endDate ?. type === 'validate' && (
400432 < p className = "text-[#dc3545] text-xs mt-1" > Invalid end time</ p >
0 commit comments