Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Auth extends React.Component {
- // ...
- componentWillUnmount() {
- window.removeEventListener('message', this.receiveLinkedInMessage)
- if (this.popup && !this.popup.closed) this.popup.close()
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement