diff --git a/ts/components/SessionWrapperModal.tsx b/ts/components/SessionWrapperModal.tsx index c317132e6..32123f14b 100644 --- a/ts/components/SessionWrapperModal.tsx +++ b/ts/components/SessionWrapperModal.tsx @@ -108,17 +108,16 @@ export const SessionWrapperModal = (props: SessionWrapperModalType) => { {props.children}
- {onConfirm ? ( - - {confirmText || window.i18n('ok')} - - ) : null} - {onClose && showClose ? ( {cancelText || window.i18n('close')} ) : null} + {onConfirm ? ( + + {confirmText || window.i18n('ok')} + + ) : null}
diff --git a/ts/components/dialog/AdminLeaveClosedGroupDialog.tsx b/ts/components/dialog/AdminLeaveClosedGroupDialog.tsx index 84c2bde89..c38086bc1 100644 --- a/ts/components/dialog/AdminLeaveClosedGroupDialog.tsx +++ b/ts/components/dialog/AdminLeaveClosedGroupDialog.tsx @@ -37,8 +37,8 @@ export const AdminLeaveClosedGroupDialog = (props: Props) => {

{warningAsAdmin}

- +
); diff --git a/ts/components/dialog/SessionNicknameDialog.tsx b/ts/components/dialog/SessionNicknameDialog.tsx index 846076405..6739b11ab 100644 --- a/ts/components/dialog/SessionNicknameDialog.tsx +++ b/ts/components/dialog/SessionNicknameDialog.tsx @@ -70,12 +70,12 @@ export const SessionNicknameDialog = (props: Props) => { />
+ -
); diff --git a/ts/components/dialog/SessionPasswordDialog.tsx b/ts/components/dialog/SessionPasswordDialog.tsx index bf2feb4af..e492fe52c 100644 --- a/ts/components/dialog/SessionPasswordDialog.tsx +++ b/ts/components/dialog/SessionPasswordDialog.tsx @@ -104,13 +104,12 @@ export class SessionPasswordDialog extends React.Component { {this.showError()}
+ - -
); diff --git a/ts/components/dialog/SessionSeedModal.tsx b/ts/components/dialog/SessionSeedModal.tsx index 38930869b..43bafc71d 100644 --- a/ts/components/dialog/SessionSeedModal.tsx +++ b/ts/components/dialog/SessionSeedModal.tsx @@ -71,9 +71,8 @@ const Password = (props: PasswordProps) => {
- - +
);