People.Client: Article: MainButton: fixed after (1ccb08b70d), fixed copying after displaying dialog

This commit is contained in:
Daniil Senkiv 2019-12-02 16:55:16 +03:00
parent 885b108cd1
commit ece2a12763

View File

@ -93,11 +93,8 @@ class PureInviteDialog extends React.Component {
});
};
componentDidUpdate(prevProps) {
console.log("invitelink did UPDATE");
if (this.props.visible && !prevProps.visible) {
componentDidMount() {
this.onCopyLinkToClipboard();
}
}
onClickToCloseButton = () =>