diff --git a/src/shared/components/Settings/Profile/Education/index.jsx b/src/shared/components/Settings/Profile/Education/index.jsx index ffc9d7cecb..7df00f3408 100644 --- a/src/shared/components/Settings/Profile/Education/index.jsx +++ b/src/shared/components/Settings/Profile/Education/index.jsx @@ -181,12 +181,10 @@ export default class Education extends ConsentComponent { } onUpdateDate(date, timePeriod) { - if (date) { - const { newEducation: oldEducation } = this.state; - const newEducation = { ...oldEducation }; - newEducation[timePeriod] = date; - this.setState({ newEducation, isSubmit: false }); - } + const { newEducation: oldEducation } = this.state; + const newEducation = { ...oldEducation }; + newEducation[timePeriod] = date || ''; + this.setState({ newEducation, isSubmit: false }); } /** @@ -530,6 +528,7 @@ export default class Education extends ConsentComponent {