diff options
Diffstat (limited to 'web/react/components/channel_header.jsx')
-rw-r--r-- | web/react/components/channel_header.jsx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/web/react/components/channel_header.jsx b/web/react/components/channel_header.jsx index fdef41939..51be13dcf 100644 --- a/web/react/components/channel_header.jsx +++ b/web/react/components/channel_header.jsx @@ -194,15 +194,15 @@ export default class ChannelHeader extends React.Component { ); } - const popoverListMembers = []; + let popoverListMembers; if (!isDirect) { - popoverListMembers.push( + popoverListMembers = ( <PopoverListMembers members={this.state.users} memberCount={this.state.userCount} channelId={channel.id} /> - ); + ); } const dropdownContents = []; |