diff --git a/src/components/secondPassphrase/secondPassphrase.js b/src/components/secondPassphrase/secondPassphrase.js index 8111fb3b96..aafab30a39 100644 --- a/src/components/secondPassphrase/secondPassphrase.js +++ b/src/components/secondPassphrase/secondPassphrase.js @@ -21,6 +21,11 @@ class SecondPassphrase extends React.Component { .push(`${routes.main.path}${routes.dashboard.path}`); } } + + backToPreviousPage() { + this.props.history.goBack(); + } + render() { const { account, peers, registerSecondPassphrase, t } = this.props; const header = t('Secure the use of your Lisk ID with a second passphrase.'); @@ -38,7 +43,9 @@ class SecondPassphrase extends React.Component { + backButtonLabel={t('Back')} + prevPage={this.backToPreviousPage.bind(this)} + >