Fix warning about uncontrolled vs. controlled state

pull/21833/head
J. Ryan Stinnett 2020-02-28 13:52:24 +00:00
parent d3c7a7ff1f
commit 4db1d04764
1 changed files with 1 additions and 1 deletions

View File

@ -83,7 +83,7 @@ export default class CreateSecretStorageDialog extends React.PureComponent {
// does the server offer a UI auth flow with just m.login.password
// for /keys/device_signing/upload?
canUploadKeysWithPasswordOnly: null,
accountPassword: props.accountPassword,
accountPassword: props.accountPassword || "",
accountPasswordCorrect: null,
// status of the key backup toggle switch
useKeyBackup: true,