Skip to content

Commit

Permalink
[frontend] Fix pr comments (#7118)
Browse files Browse the repository at this point in the history
  • Loading branch information
SarahBocognano committed May 30, 2024
1 parent 81077bb commit 7e5f6d8
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,8 @@ ThreatActorIndividualEditionBiographicsComponentProps
.when('measure', {
is: (value: number) => value !== undefined && value !== null,
then: (schema) => schema.required(t_i18n('This field is required')),
});
})
.typeError(t_i18n('The value must be a datetime (yyyy-MM-dd hh:mm (a|p)m)'));

const basicShape = {
eye_color: Yup.string()
Expand Down

0 comments on commit 7e5f6d8

Please sign in to comment.