TP-83691 | RN Null screen name solve (#12800)
This commit is contained in:
@@ -13,7 +13,6 @@ import {
|
||||
handleErrorData,
|
||||
handleResponseData,
|
||||
} from "../../../common/screen/ScreenActionHandler";
|
||||
import { ScreenActionTypes } from "../../../common/screen/ScreenActionTypes";
|
||||
export const getMarketBenefitComparePageData = async (
|
||||
screenMetaData: ActionMetaData,
|
||||
setScreenData: Dispatch<SetStateAction<ScreenData | null>>,
|
||||
@@ -33,7 +32,6 @@ export const getMarketBenefitComparePageData = async (
|
||||
screenMetaData,
|
||||
AnalyticsFlowNameConstant.GI_RN_BENEFIT_COMPARE,
|
||||
AnalyticsMethodNameConstant.MARKET_BENEFIT_COMPARE_LIST,
|
||||
ScreenActionTypes.FETCH_BENEFIT_COMPARE_LIST,
|
||||
);
|
||||
});
|
||||
};
|
||||
|
||||
@@ -18,7 +18,6 @@ import {
|
||||
handleErrorData,
|
||||
handleResponseData,
|
||||
} from "../../../common/screen/ScreenActionHandler";
|
||||
import { ScreenActionTypes } from "../../../common/screen/ScreenActionTypes";
|
||||
export interface SumInsuredRequestData {
|
||||
sumInsured: string;
|
||||
planId?: string;
|
||||
@@ -74,7 +73,6 @@ export const createQuote = async (
|
||||
screenMetaData,
|
||||
AnalyticsFlowNameConstant.GI_RN_QUOTE,
|
||||
AnalyticsMethodNameConstant.FETCH_QUOTE_V4,
|
||||
ScreenActionTypes.FETCH_QUOTE_V4,
|
||||
);
|
||||
});
|
||||
};
|
||||
@@ -108,7 +106,6 @@ export const getQuotePageData = async (
|
||||
screenMetaData,
|
||||
AnalyticsFlowNameConstant.GI_RN_QUOTE,
|
||||
AnalyticsMethodNameConstant.FETCH_INSURANCE_QUOTE_PAGE_FROM_BACKEND,
|
||||
ScreenActionTypes.FETCH_INSURANCE_QUOTE_PAGE_FROM_BACKEND,
|
||||
);
|
||||
});
|
||||
};
|
||||
@@ -148,7 +145,6 @@ export const fetchComparisonPlanList = async (
|
||||
screenMetaData,
|
||||
AnalyticsFlowNameConstant.GI_RN_QUOTE,
|
||||
AnalyticsMethodNameConstant.COMPARE_PLAN_LIST,
|
||||
ScreenActionTypes.FETCH_COMPARE_PLAN_LIST,
|
||||
);
|
||||
});
|
||||
};
|
||||
|
||||
@@ -13,7 +13,6 @@ import {
|
||||
handleErrorData,
|
||||
handleResponseData,
|
||||
} from "../../../common/screen/ScreenActionHandler";
|
||||
import { ScreenActionTypes } from "../../../common/screen/ScreenActionTypes";
|
||||
export const getWaitingPeriodScreenData = async (
|
||||
screenMetaData: ActionMetaData,
|
||||
setScreenData: Dispatch<SetStateAction<ScreenData | null>>,
|
||||
@@ -33,7 +32,6 @@ export const getWaitingPeriodScreenData = async (
|
||||
screenMetaData,
|
||||
AnalyticsFlowNameConstant.GI_WAITING_PERIOD,
|
||||
AnalyticsMethodNameConstant.WAITING_PERIOD_SCREEN,
|
||||
ScreenActionTypes.FETCH_WAITING_PERIOD_SCREEN,
|
||||
);
|
||||
});
|
||||
};
|
||||
|
||||
@@ -74,7 +74,6 @@ export const handleErrorData = (
|
||||
screenMetaData: ActionMetaData,
|
||||
flowName: string,
|
||||
methodName: string,
|
||||
actionType: string,
|
||||
) => {
|
||||
logToSentry(
|
||||
`No response from api call: ${screenMetaData.actionType} | Error: ${error} | MethodName: handleScreenAction`,
|
||||
@@ -98,10 +97,7 @@ export const handleErrorData = (
|
||||
{
|
||||
actionType: ScreenActionTypes.SHOW_LOADER,
|
||||
},
|
||||
{
|
||||
data: screenMetaData.data,
|
||||
actionType: actionType,
|
||||
},
|
||||
screenMetaData,
|
||||
],
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user