Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit 4da4e0c

Browse files
committed
Iminimal lint-fixes to make develop CI build
1 parent 66a6f9d commit 4da4e0c

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

src/async-components/views/dialogs/keybackup/NewRecoveryMethodDialog.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export default class NewRecoveryMethodDialog extends React.PureComponent {
3232
dis.dispatch({ action: 'view_user_settings' });
3333
}
3434

35-
onSetupClick = async() => {
35+
onSetupClick = async () => {
3636
// TODO: Should change to a restore key backup flow that checks the
3737
// recovery passphrase while at the same time also cross-signing the
3838
// device as well in a single flow. Since we don't have that yet, we'll

src/autocomplete/CommunityProvider.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ export default class CommunityProvider extends AutocompleteProvider {
6161
if (command) {
6262
const joinedGroups = cli.getGroups().filter(({myMembership}) => myMembership === 'join');
6363

64-
const groups = (await Promise.all(joinedGroups.map(async({groupId}) => {
64+
const groups = (await Promise.all(joinedGroups.map(async ({groupId}) => {
6565
try {
6666
return FlairStore.getGroupProfileCached(cli, groupId);
6767
} catch (e) { // if FlairStore failed, fall back to just groupId

src/components/structures/GroupView.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -778,7 +778,7 @@ export default React.createClass({
778778
),
779779
button: _t("Leave"),
780780
danger: this.state.isUserPrivileged,
781-
onFinished: async(confirmed) => {
781+
onFinished: async (confirmed) => {
782782
if (!confirmed) return;
783783

784784
this.setState({membershipBusy: true});

src/components/views/context_menus/GroupInviteTileContextMenu.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ export default class GroupInviteTileContextMenu extends React.Component {
4848
Modal.createTrackedDialog('Reject community invite', '', QuestionDialog, {
4949
title: _t('Reject invitation'),
5050
description: _t('Are you sure you want to reject the invitation?'),
51-
onFinished: async(shouldLeave) => {
51+
onFinished: async (shouldLeave) => {
5252
if (!shouldLeave) return;
5353

5454
// FIXME: controller shouldn't be loading a view :(

src/components/views/context_menus/StatusMessageContextMenu.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ export default class StatusMessageContextMenu extends React.Component {
3535
};
3636
}
3737

38-
_onClearClick = async(e) => {
38+
_onClearClick = async (e) => {
3939
await MatrixClientPeg.get()._unstable_setStatusMessage("");
4040
this.setState({message: ""});
4141
};

0 commit comments

Comments
 (0)