minor optimization; following jwilander's recommendation
Этот коммит содержится в:
@@ -194,15 +194,15 @@ export default class ChannelHeader extends React.Component {
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
const popoverListMembers = [];
|
let popoverListMembers;
|
||||||
if (!isDirect) {
|
if (!isDirect) {
|
||||||
popoverListMembers.push(
|
popoverListMembers = (
|
||||||
<PopoverListMembers
|
<PopoverListMembers
|
||||||
members={this.state.users}
|
members={this.state.users}
|
||||||
memberCount={this.state.userCount}
|
memberCount={this.state.userCount}
|
||||||
channelId={channel.id}
|
channelId={channel.id}
|
||||||
/>
|
/>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
const dropdownContents = [];
|
const dropdownContents = [];
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user