const contentType = response.headers.get("content-type");
if (contentType && contentType.indexOf("application/text") !== -1) {
response.text().then((result) => {
if(result === EC_MSG_CONCURRENTCHANGE){
alert(EC_MSG_CONCURRENTCHANGE);
// dispatch(updateElementValueInCommonReducer({
// elementName: "concurrentPopup",
// value: true,
// }));
return;
}
});
}
I need to dispatch other slice function on the this slice child component