Skip to content

Commit

Permalink
chore: nx format:write update dirty files
Browse files Browse the repository at this point in the history
  • Loading branch information
andes-it committed Oct 29, 2024
1 parent a4bbb62 commit ee1a95e
Showing 1 changed file with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,10 @@ export const PassportSelection: FC<React.PropsWithChildren<FieldBaseProps>> = ({
} = useFormContext()
const userPassportRadio = `${id}.userPassport`
const childPassportRadio = `${id}.childPassport`

const fieldErrorsUser = getErrorViaPath(errors, userPassportRadio)
const fieldErrorsChild = getErrorViaPath(errors, childPassportRadio)

const identityDocumentData = application.externalData.identityDocument
.data as IdentityDocumentData

Expand All @@ -48,9 +48,7 @@ export const PassportSelection: FC<React.PropsWithChildren<FieldBaseProps>> = ({
isDisabled: boolean
}

const tag = (
identityDocument: IdentityDocument,
): TagCheck => {
const tag = (identityDocument: IdentityDocument): TagCheck => {
const today = new Date()
const expirationDate = new Date(identityDocument?.expirationDate)
const todayPlus6Months = new Date(
Expand Down

0 comments on commit ee1a95e

Please sign in to comment.