Reset app state without closing/restarting it
This commit is contained in:
@@ -70,7 +70,11 @@ export default class ChangePassword extends Component {
|
||||
}
|
||||
|
||||
if (enteringNewPassword) {
|
||||
return <EnterNewPassword />
|
||||
return (
|
||||
<EnterNewPassword
|
||||
changeEncryptionAndRestart={this.props.changeEncryptionAndRestart}
|
||||
/>
|
||||
)
|
||||
}
|
||||
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user