summaryrefslogtreecommitdiffstats
path: root/web/react/utils/channel_intro_messages.jsx
diff options
context:
space:
mode:
authorChristopher Speller <crspeller@gmail.com>2016-02-22 08:31:10 -0500
committerChristopher Speller <crspeller@gmail.com>2016-02-22 08:47:00 -0500
commit4c92a1c1e35402730f74cf24a0c71729f4d0a676 (patch)
treea614a1bd7c10414182696e794a9e8dfc119e280e /web/react/utils/channel_intro_messages.jsx
parent040bff2b9f384b88179f6ec1beb40d92102c9ba3 (diff)
downloadchat-4c92a1c1e35402730f74cf24a0c71729f4d0a676.tar.gz
chat-4c92a1c1e35402730f74cf24a0c71729f4d0a676.tar.bz2
chat-4c92a1c1e35402730f74cf24a0c71729f4d0a676.zip
Updating some client deps + eslint
Diffstat (limited to 'web/react/utils/channel_intro_messages.jsx')
-rw-r--r--web/react/utils/channel_intro_messages.jsx3
1 files changed, 2 insertions, 1 deletions
diff --git a/web/react/utils/channel_intro_messages.jsx b/web/react/utils/channel_intro_messages.jsx
index 1aca0467e..79e58147f 100644
--- a/web/react/utils/channel_intro_messages.jsx
+++ b/web/react/utils/channel_intro_messages.jsx
@@ -23,6 +23,7 @@ export function createChannelIntroMessage(channel) {
} else if (channel.type === 'O' || channel.type === 'P') {
return createStandardIntroMessage(channel);
}
+ return null;
}
export function createDMIntroMessage(channel) {
@@ -46,7 +47,7 @@ export function createDMIntroMessage(channel) {
</div>
<div className='channel-intro-profile'>
<strong>
- <UserProfile userId={teammate.id} />
+ <UserProfile userId={teammate.id}/>
</strong>
</div>
<p className='channel-intro-text'>