summaryrefslogtreecommitdiffstats
path: root/web/react/utils/channel_intro_messages.jsx
diff options
context:
space:
mode:
Diffstat (limited to 'web/react/utils/channel_intro_messages.jsx')
-rw-r--r--web/react/utils/channel_intro_messages.jsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/react/utils/channel_intro_messages.jsx b/web/react/utils/channel_intro_messages.jsx
index 79e58147f..ed94f94b8 100644
--- a/web/react/utils/channel_intro_messages.jsx
+++ b/web/react/utils/channel_intro_messages.jsx
@@ -47,7 +47,7 @@ export function createDMIntroMessage(channel) {
</div>
<div className='channel-intro-profile'>
<strong>
- <UserProfile userId={teammate.id}/>
+ <UserProfile user={teammate}/>
</strong>
</div>
<p className='channel-intro-text'>