handle change data and update data in dashboard page for all tabs
This commit is contained in:
@@ -57,7 +57,7 @@ function DateBirthday({ data, changeData }) {
|
||||
<DatePicker
|
||||
locale="fa"
|
||||
onChange={(e) => {
|
||||
changeData(convertToJalali(e._d), "value", "date_of_birth");
|
||||
changeData(convertToJalali(e._d), "value", "birthday");
|
||||
handleClose();
|
||||
}}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user