Skip to content

Commit

Permalink
Merge pull request #4476 from appirio-tech/hotfix/add-copilot-fix
Browse files Browse the repository at this point in the history
[HOTFIX][PROD] Fixed adding copilot bug in new milestone management
  • Loading branch information
RishiRajSahu committed Sep 1, 2021
2 parents 61f2870 + 391ab0d commit cd81f2b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,11 @@ class AddCopilotsSidebar extends React.Component {
}

componentDidMount() {
document.addEventListener('click', this.onClickOutside)
document.addEventListener('mousedown', this.onClickOutside)
}

componentWillUnmount() {
document.removeEventListener('click', this.onClickOutside)
document.removeEventListener('mousedown', this.onClickOutside)
}

render() {
Expand Down

0 comments on commit cd81f2b

Please sign in to comment.