diff --git a/ts/components/SessionWrapperModal.tsx b/ts/components/SessionWrapperModal.tsx index 9f244c044..5cccdf162 100644 --- a/ts/components/SessionWrapperModal.tsx +++ b/ts/components/SessionWrapperModal.tsx @@ -124,7 +124,7 @@ export const SessionWrapperModal = (props: SessionWrapperModalType) => { }) : null} - {title} + {title} { const { title = '', i18nMessage, - i18nMessageSub, radioOptions, okTheme, closeTheme = SessionButtonColor.Danger, @@ -133,9 +131,8 @@ export const SessionConfirm = (props: SessionConfirmDialogProps) => { {!showHeader && }
- {i18nMessage ? : null} - {i18nMessageSub ? ( - + {i18nMessage ? ( + ) : null} {radioOptions && chosenOption !== '' ? ( - + diff --git a/ts/react.d.ts b/ts/react.d.ts index 79ff18f09..0e3fc2dc4 100644 --- a/ts/react.d.ts +++ b/ts/react.d.ts @@ -233,7 +233,8 @@ declare module 'react' { | 'conversation-options-avatar' | 'copy-sender-from-details' | 'copy-msg-from-details' - | 'block-unblock-modal-description' + | 'modal-heading' + | 'modal-description' // modules profile name | 'module-conversation__user__profile-name' | 'module-message-search-result__header__name__profile-name'