From 5c35c2631e59f895a7b0fb6761c1cae7aee60466 Mon Sep 17 00:00:00 2001 From: Christopher Speller Date: Thu, 19 Nov 2015 18:10:08 -0500 Subject: Upgrading ESLint and adding some more rules. Refactoring to meet these new rules --- web/react/utils/channel_intro_mssages.jsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'web/react/utils/channel_intro_mssages.jsx') diff --git a/web/react/utils/channel_intro_mssages.jsx b/web/react/utils/channel_intro_mssages.jsx index 28a458e3f..281c65b1b 100644 --- a/web/react/utils/channel_intro_mssages.jsx +++ b/web/react/utils/channel_intro_mssages.jsx @@ -71,7 +71,7 @@ export function createDMIntroMessage(channel) { ); } -export function createOffTopicIntroMessage(channel, showInviteModal) { +export function createOffTopicIntroMessage(channel, showInviteModal) { //eslint-disable-line react/no-multi-comp return (

{'Beginning of ' + channel.display_name}

@@ -101,7 +101,7 @@ export function createOffTopicIntroMessage(channel, showInviteModal) { ); } -export function createDefaultIntroMessage(channel) { +export function createDefaultIntroMessage(channel) { //eslint-disable-line react/no-multi-comp const team = TeamStore.getCurrent(); let inviteModalLink; if (team.type === Constants.INVITE_TEAM) { @@ -154,7 +154,7 @@ export function createDefaultIntroMessage(channel) { ); } -export function createStandardIntroMessage(channel, showInviteModal) { +export function createStandardIntroMessage(channel, showInviteModal) { //eslint-disable-line react/no-multi-comp var uiName = channel.display_name; var creatorName = ''; -- cgit v1.2.3-1-g7c22