Skip to content

Commit

Permalink
Delete window.intercomSettings object when we delete window.Intercom
Browse files Browse the repository at this point in the history
  • Loading branch information
nhagen committed Oct 25, 2018
1 parent 5adc97e commit d34ecda
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ export default class Intercom extends Component {
window.Intercom('shutdown');

delete window.Intercom;
delete window.intercomSettings;
}

loggedIn(props) {
Expand Down

0 comments on commit d34ecda

Please sign in to comment.