Fallback for the SafetyNumberViewer
This commit is contained in:
parent
da7a76e03f
commit
0872afba3d
9 changed files with 32 additions and 61 deletions
|
@ -16,7 +16,7 @@ import { isInSystemContacts } from '../util/isInSystemContacts';
|
|||
|
||||
export type SafetyNumberProps = {
|
||||
contactID: string;
|
||||
onClose?: () => void;
|
||||
onClose: () => void;
|
||||
};
|
||||
|
||||
export type Props = {
|
||||
|
@ -59,7 +59,7 @@ export const SafetyNumberChangeDialog = ({
|
|||
|
||||
if (selectedContact) {
|
||||
return (
|
||||
<Modal i18n={i18n} onClose={onClose}>
|
||||
<Modal hasXButton i18n={i18n} onClose={onClose}>
|
||||
{renderSafetyNumber({ contactID: selectedContact.id, onClose })}
|
||||
</Modal>
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue