Fix click handling for stories

This commit is contained in:
Fedor Indutny 2022-09-27 13:24:21 -07:00 committed by GitHub
parent c0082adc56
commit 698c7a7739
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
78 changed files with 274 additions and 46 deletions

View file

@ -65,7 +65,12 @@ export const SafetyNumberChangeDialog = ({
if (selectedContact) {
return (
<Modal hasXButton i18n={i18n} onClose={onClose}>
<Modal
modalName="SafetyNumberChangeDialog"
hasXButton
i18n={i18n}
onClose={onClose}
>
{renderSafetyNumber({ contactID: selectedContact.id, onClose })}
</Modal>
);
@ -73,6 +78,7 @@ export const SafetyNumberChangeDialog = ({
return (
<ConfirmationDialog
dialogName="SafetyNumberChangeDialog.confirmSend"
actions={[
{
action: onConfirm,