Skip to content

Commit

Permalink
update comment
Browse files Browse the repository at this point in the history
Co-authored-by: Puneet Lath <puneet@expensify.com>
  • Loading branch information
situchan and puneetlath authored Feb 24, 2023
1 parent 7805e07 commit 1de1a45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Modal/BaseModal.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ class BaseModal extends PureComponent {
componentDidMount() {
if (!this.props.isVisible) { return; }

// to handle case of modal already visible when mounted, i.e. PopoverReportActionContextMenu
// To handle closing any modal already visible when this modal is mounted, i.e. PopoverReportActionContextMenu
Modal.setCloseModal(this.props.onClose);
}

Expand Down

0 comments on commit 1de1a45

Please sign in to comment.