diff --git a/themes/gatsby-theme-deriv/src/pages/signup-affiliates/utils/_birth-picker.tsx b/themes/gatsby-theme-deriv/src/pages/signup-affiliates/utils/_birth-picker.tsx index ecd3c9401f0..a46b5a235b1 100644 --- a/themes/gatsby-theme-deriv/src/pages/signup-affiliates/utils/_birth-picker.tsx +++ b/themes/gatsby-theme-deriv/src/pages/signup-affiliates/utils/_birth-picker.tsx @@ -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 (