You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-08 21:42:24 +03:00
Fix warning about uncontrolled vs. controlled state
This commit is contained in:
@@ -83,7 +83,7 @@ export default class CreateSecretStorageDialog extends React.PureComponent {
|
|||||||
// does the server offer a UI auth flow with just m.login.password
|
// does the server offer a UI auth flow with just m.login.password
|
||||||
// for /keys/device_signing/upload?
|
// for /keys/device_signing/upload?
|
||||||
canUploadKeysWithPasswordOnly: null,
|
canUploadKeysWithPasswordOnly: null,
|
||||||
accountPassword: props.accountPassword,
|
accountPassword: props.accountPassword || "",
|
||||||
accountPasswordCorrect: null,
|
accountPasswordCorrect: null,
|
||||||
// status of the key backup toggle switch
|
// status of the key backup toggle switch
|
||||||
useKeyBackup: true,
|
useKeyBackup: true,
|
||||||
|
|||||||
Reference in New Issue
Block a user