From bcb1d73c3cfb09a2c953aeb716e4a1ad981b73b4 Mon Sep 17 00:00:00 2001 From: Travis Ralston Date: Thu, 20 Feb 2020 23:21:35 -0700 Subject: [PATCH] Appease the linter --- src/components/views/dialogs/InviteDialog.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/components/views/dialogs/InviteDialog.js b/src/components/views/dialogs/InviteDialog.js index 03ec242a2e..5c222182de 100644 --- a/src/components/views/dialogs/InviteDialog.js +++ b/src/components/views/dialogs/InviteDialog.js @@ -672,7 +672,7 @@ export default class InviteDialog extends React.PureComponent { // Add a result anyways, just without a profile. We stick it at the // top so it is most obviously presented to the user. - r.results.splice(0, 0,{ + r.results.splice(0, 0, { user_id: term, display_name: term, avatar_url: null, @@ -1061,7 +1061,8 @@ export default class InviteDialog extends React.PureComponent { goButtonFn = this._inviteUsers; } - const hasSelection = this.state.targets.length > 0 || (this.state.filterText && this.state.filterText.includes('@')); + const hasSelection = this.state.targets.length > 0 + || (this.state.filterText && this.state.filterText.includes('@')); return (