0
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

  • I don't see any slice here, just if condition. Make some effort and add more context to the question and exp[lain what is the problem you face and what you have already tried that didn't work... – Greg Motyl Dec 28 '22 at 08:25

0 Answers0