Skip to content
Snippets Groups Projects
Unverified Commit c1a8ee2d authored by Murtaza Patrawala's avatar Murtaza Patrawala Committed by GitHub
Browse files

[FIX] Unable to close chats when comments is disabled (#26057)

parent ae0835bf
No related branches found
No related tags found
No related merge requests found
......@@ -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')}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment