@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 +2 -2
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/index.js +2 -2
- package/dist/esm/index.js.map +1 -1
- package/package.json +2 -2
package/dist/esm/index.js
CHANGED
|
@@ -3082,7 +3082,7 @@ const formLifeApplicantStateReducer = (state = { ...lifeFormApplicantInitialStat
|
|
|
3082
3082
|
case StoreFormLifeApplicantActionTypes.FormLifeApplicantBirthDaySelect:
|
|
3083
3083
|
return setLocalApplicant(action?.localIndex, setStateProperty(state, 'birthDay', action.payload.birthDay));
|
|
3084
3084
|
case StoreFormLifeApplicantActionTypes.FormLifeApplicantSmokerSelect:
|
|
3085
|
-
return setLocalApplicant(action?.localIndex, setStateProperty(state, '
|
|
3085
|
+
return setLocalApplicant(action?.localIndex, setStateProperty(state, 'smoker', action.payload.smoker));
|
|
3086
3086
|
case StoreFormLifeApplicantActionTypes.FormLifeApplicantEmailSet:
|
|
3087
3087
|
return setLocalApplicant(action.localIndex, setStateProperty(state, 'emailTo', action.payload));
|
|
3088
3088
|
// quoter info
|
|
@@ -4548,7 +4548,7 @@ const useHandlerCarMake = () => {
|
|
|
4548
4548
|
const { status, successMessage, responseData, errorMessage, isFirstRequest, responseError, } = requestState;
|
|
4549
4549
|
const getVehicleMake = async (year) => {
|
|
4550
4550
|
setRequestState({ type: DataHandlerActionTypes.SetLoading, payload: true });
|
|
4551
|
-
if (Number(year)
|
|
4551
|
+
if (Number(year) >= 2000) {
|
|
4552
4552
|
try {
|
|
4553
4553
|
const response = await httpRequest({
|
|
4554
4554
|
url: `${API_FORM_CAR.GET_VEHICLE}/${year}`,
|