You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If Intercom isn't loaded by the time the component unmounts an uncaught error is thrown.
index.js:106 Uncaught TypeError: window.Intercom is not a function
at Intercom.componentWillUnmount (index.js:106)
at ReactCompositeComponent.js:409
at measureLifeCyclePerf (ReactCompositeComponent.js:75)
at ReactCompositeComponentWrapper.unmountComponent (ReactCompositeComponent.js:408)
The text was updated successfully, but these errors were encountered:
Also running into this problem - have routes split into authorized and unauthorized routes, with Intercom on the authorized route only, and when navigating from authorized to unauthorized and then back again this error always shows up.
A bit new to React etc, but it would it make sense to do something like
I rewrote this package today and may have resolved this issue. See more details at #73 . Closing for now, but happy to re-open if this is still an issue.
If Intercom isn't loaded by the time the component unmounts an uncaught error is thrown.
index.js:106 Uncaught TypeError: window.Intercom is not a function
at Intercom.componentWillUnmount (index.js:106)
at ReactCompositeComponent.js:409
at measureLifeCyclePerf (ReactCompositeComponent.js:75)
at ReactCompositeComponentWrapper.unmountComponent (ReactCompositeComponent.js:408)
The text was updated successfully, but these errors were encountered: