Reset app state without closing/restarting it

This commit is contained in:
Sofiya Tepikin
2022-08-10 15:40:48 +02:00
parent d9a1cd7895
commit 38f91c2e25
8 changed files with 51 additions and 21 deletions
+5 -1
View File
@@ -70,7 +70,11 @@ export default class ChangePassword extends Component {
}
if (enteringNewPassword) {
return <EnterNewPassword />
return (
<EnterNewPassword
changeEncryptionAndRestart={this.props.changeEncryptionAndRestart}
/>
)
}
return (