@mychoice/mychoice-sdk-store 2.1.24 → 2.1.27

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/cjs/index.js CHANGED
@@ -3091,7 +3091,7 @@ const formLifeApplicantStateReducer = (state = { ...lifeFormApplicantInitialStat
3091
3091
  case exports.StoreFormLifeApplicantActionTypes.FormLifeApplicantBirthDaySelect:
3092
3092
  return setLocalApplicant(action?.localIndex, setStateProperty(state, 'birthDay', action.payload.birthDay));
3093
3093
  case exports.StoreFormLifeApplicantActionTypes.FormLifeApplicantSmokerSelect:
3094
- return setLocalApplicant(action?.localIndex, setStateProperty(state, 'nonsmoker', action.payload.smoker));
3094
+ return setLocalApplicant(action?.localIndex, setStateProperty(state, 'smoker', action.payload.smoker));
3095
3095
  case exports.StoreFormLifeApplicantActionTypes.FormLifeApplicantEmailSet:
3096
3096
  return setLocalApplicant(action.localIndex, setStateProperty(state, 'emailTo', action.payload));
3097
3097
  // quoter info
@@ -4557,7 +4557,7 @@ const useHandlerCarMake = () => {
4557
4557
  const { status, successMessage, responseData, errorMessage, isFirstRequest, responseError, } = requestState;
4558
4558
  const getVehicleMake = async (year) => {
4559
4559
  setRequestState({ type: DataHandlerActionTypes.SetLoading, payload: true });
4560
- if (Number(year) > 2000) {
4560
+ if (Number(year) >= 2000) {
4561
4561
  try {
4562
4562
  const response = await httpRequest({
4563
4563
  url: `${mychoiceSdkComponents.API_FORM_CAR.GET_VEHICLE}/${year}`,