const onHide = () => console.log("Intercom did hide the Messenger");
return (
<IntercomProvider
appId={process.env.REACT_APP_INTERCOM_APP_ID || ""}
initializeDelay={1000}
onHide={onHide}
>
{children}
</IntercomProvider>
);
I have this line of code, when i press the X button on my intercom widget to close it, i do not get the onHide console.log. Anyone knows how to fix this?