Add spaces back to async arrow functions
As per https://github.com/matrix-org/matrix-js-sdk/pull/821 Requires https://github.com/matrix-org/matrix-js-sdk/pull/821
This commit is contained in:
@@ -781,7 +781,7 @@ export default React.createClass({
|
||||
),
|
||||
button: _t("Leave"),
|
||||
danger: this.state.isUserPrivileged,
|
||||
onFinished: async(confirmed) => {
|
||||
onFinished: async (confirmed) => {
|
||||
if (!confirmed) return;
|
||||
|
||||
this.setState({membershipBusy: true});
|
||||
|
||||
Reference in New Issue
Block a user