You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-10-31 01:45:39 +03:00
Enable strictPropertyInitialization (#11203)
This commit is contained in:
committed by
GitHub
parent
4207d182cd
commit
cfd48b36aa
@@ -647,7 +647,7 @@ export class MsisdnAuthEntry extends React.Component<IMsisdnAuthEntryProps, IMsi
|
||||
});
|
||||
}
|
||||
} catch (e) {
|
||||
this.props.fail(e);
|
||||
this.props.fail(e instanceof Error ? e : new Error("Failed to submit msisdn token"));
|
||||
logger.log("Failed to submit msisdn token");
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user