Remove unused state fields in qr oidc (#12588)

* Dummy PR to Netlify https://github.com/matrix-org/matrix-js-sdk/pull/4233

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Remove unused state field

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Discard changes to .prettierignore

---------

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
Michael Telatynski 2024-06-19 09:50:53 +01:00 committed by GitHub
parent d6f35a53f7
commit a4af2870b4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -59,7 +59,6 @@ interface IState {
checkCode?: string;
failureReason?: FailureReason;
lastScannedCode?: Buffer;
homeserverBaseUrl?: string;
}
export enum LoginWithQRFailureReason {
@ -312,7 +311,6 @@ export default class LoginWithQR extends React.Component<IProps, IState> {
failureReason: undefined,
userCode: undefined,
checkCode: undefined,
homeserverBaseUrl: undefined,
lastScannedCode: undefined,
mediaPermissionError: false,
});