@mychoice/mychoice-sdk-store 2.1.24 → 2.1.25
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 +1 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/index.js.map +1 -1
- package/package.json +2 -2
package/dist/cjs/index.js
CHANGED
|
@@ -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)
|
|
4560
|
+
if (Number(year) >= 2000) {
|
|
4561
4561
|
try {
|
|
4562
4562
|
const response = await httpRequest({
|
|
4563
4563
|
url: `${mychoiceSdkComponents.API_FORM_CAR.GET_VEHICLE}/${year}`,
|