Merge pull request #1944 from jessopb/fixTipModal
fix: modalSendTip now closes on esc/click outside
This commit is contained in:
commit
1eb593e2b4
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@ class ModalSendTip extends React.PureComponent<Props> {
|
|||
const { closeModal, uri } = this.props;
|
||||
|
||||
return (
|
||||
<Modal isOpen type="custom">
|
||||
<Modal onAborted={closeModal} isOpen type="custom">
|
||||
<SendTip uri={uri} onCancel={closeModal} sendTipCallback={closeModal} />
|
||||
</Modal>
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue