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
@@ -34,7 +34,11 @@ export default class CreatePassword extends Component {
</Button>
)
} else {
return <EnterNewPassword />
return (
<EnterNewPassword
changeEncryptionAndRestart={this.props.changeEncryptionAndRestart}
/>
)
}
}
}