Skip to content

Commit

Permalink
πŸ› missing then unported
Browse files Browse the repository at this point in the history
  • Loading branch information
vokimon committed Oct 29, 2024
1 parent 40c663d commit f6cf216
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/containers/Member.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ const Member = (props) => {
}),
proxynif_valid: Yup.bool().when('isphisical', {
is: false,
then: Yup.bool().required(t('FILL_NIF')).oneOf([true], t('FILL_NIF'))
then: (schema) => schema.required(t('FILL_NIF')).oneOf([true], t('FILL_NIF'))
}),
address: Yup.string().required(t('NO_ADDRESS')),
postal_code: Yup.string()
Expand Down

0 comments on commit f6cf216

Please sign in to comment.