Skip to content
This repository has been archived by the owner on Sep 26, 2024. It is now read-only.

Commit

Permalink
chore: log2
Browse files Browse the repository at this point in the history
  • Loading branch information
behnaz-deriv committed Jun 11, 2024
1 parent 0c3a5b2 commit 73599b1
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,10 @@ const BirthPicker = ({ id, error, value, setFieldValue, label, label_color }: Bi
}
const max_date = subtractYears(18)

const handleDateChange = (date) => setFieldValue((prev) => ({ ...prev, date_birth: date }))
const handleDateChange = (date) => {
console.log('==>', date)
setFieldValue((prev) => ({ ...prev, date_birth: date }))
}

return (
<BirthPickerWrapper is_date_field={is_date_field} value={value} error={error}>
Expand Down

0 comments on commit 73599b1

Please sign in to comment.