({request})
| 58 | } |
| 59 | |
| 60 | export async function action({request}) { |
| 61 | const formData = await request.formData(); |
| 62 | const {applicantId, fromPath, requestBody} = createRecordRequestBody(formData); |
| 63 | await addModifyRecord(requestBody); |
| 64 | return redirect(safeLocalPath(fromPath, profileApplicantPath(applicantId))); |
| 65 | } |
| 66 | |
| 67 | function RecordOptionField({ |
| 68 | endAdornment, |
nothing calls this directly
no test coverage detected