Skip to content

Commit

Permalink
added escape to the ConfirmModal
Browse files Browse the repository at this point in the history
  • Loading branch information
parasharrajat committed Oct 9, 2021
1 parent bc3cfc2 commit 4d24eaf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/AttachmentModal.js
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,7 @@ class AttachmentModal extends PureComponent {
<ConfirmModal
title={this.props.translate('attachmentPicker.attachmentTooLarge')}
onConfirm={this.closeConfirmModal}
onCancel={this.closeConfirmModal}
isVisible={this.state.isConfirmModalOpen}
prompt={this.props.translate('attachmentPicker.sizeExceeded')}
confirmText={this.props.translate('common.close')}
Expand Down

0 comments on commit 4d24eaf

Please sign in to comment.