Skip to content

Commit

Permalink
[FIX] Unable to close chats when comments is disabled (#26057)
Browse files Browse the repository at this point in the history
  • Loading branch information
murtaza98 authored and KevLehman committed Jul 27, 2022
1 parent f1291c8 commit 0e0e97d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ const CloseChatModal = ({
<GenericModal
variant='warning'
title={t('Are_you_sure_you_want_to_close_this_chat')}
onConfirm={onConfirm}
onConfirm={(): Promise<void> => onConfirm()}
onCancel={onCancel}
onClose={onCancel}
confirmText={t('Confirm')}
Expand Down

0 comments on commit 0e0e97d

Please sign in to comment.