mirror of
https://github.com/Novaloop-AG/healthchat-web.git
synced 2026-11-08 07:28:26 +00:00
Add missing parenthesis for await calls
This commit is contained in:
committed by
Dariusz Niemczyk
parent
f05e35bd94
commit
12632318ef
@@ -75,7 +75,7 @@ export class EmailAddress extends React.Component<IEmailAddressProps, IEmailAddr
|
|||||||
}
|
}
|
||||||
|
|
||||||
private async changeBinding({ bind, label, errorTitle }): Promise<void> {
|
private async changeBinding({ bind, label, errorTitle }): Promise<void> {
|
||||||
if (!await MatrixClientPeg.get().doesServerSupportSeparateAddAndBind()) {
|
if (!(await MatrixClientPeg.get().doesServerSupportSeparateAddAndBind())) {
|
||||||
return this.changeBindingTangledAddBind({ bind, label, errorTitle });
|
return this.changeBindingTangledAddBind({ bind, label, errorTitle });
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -71,7 +71,7 @@ export class PhoneNumber extends React.Component<IPhoneNumberProps, IPhoneNumber
|
|||||||
}
|
}
|
||||||
|
|
||||||
private async changeBinding({ bind, label, errorTitle }): Promise<void> {
|
private async changeBinding({ bind, label, errorTitle }): Promise<void> {
|
||||||
if (!await MatrixClientPeg.get().doesServerSupportSeparateAddAndBind()) {
|
if (!(await MatrixClientPeg.get().doesServerSupportSeparateAddAndBind())) {
|
||||||
return this.changeBindingTangledAddBind({ bind, label, errorTitle });
|
return this.changeBindingTangledAddBind({ bind, label, errorTitle });
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user