diff --git a/ts/components/session/SessionSeedModal.tsx b/ts/components/session/SessionSeedModal.tsx index 2280273ed..0d0f62c62 100644 --- a/ts/components/session/SessionSeedModal.tsx +++ b/ts/components/session/SessionSeedModal.tsx @@ -111,7 +111,6 @@ export class SessionSeedModal extends React.Component { private renderSeedView() { const i18n = window.i18n; - const { onClose } = this.props; return ( <> @@ -128,8 +127,6 @@ export class SessionSeedModal extends React.Component {
- - { @@ -211,6 +208,7 @@ export class SessionSeedModal extends React.Component { window.clipboard.writeText(recoveryPhrase); ToastUtils.pushCopiedToClipBoard(); + this.props.onClose(); } private onEnter(event: any) {