pull/21833/head
Michael Telatynski 2021-05-28 13:51:54 +01:00
parent caaef63077
commit 91b7f25513
1 changed files with 0 additions and 3 deletions

View File

@ -408,9 +408,6 @@ export default class InviteDialog extends React.PureComponent<IInviteDialogProps
componentWillUnmount() {
this.unmounted = true;
}
componentWillUnmount() {
// if the Copied tooltip is open then get rid of it, there are ways to close the modal which wouldn't close
// the tooltip otherwise, such as pressing Escape or clicking X really quickly
if (this.closeCopiedTooltip) this.closeCopiedTooltip();