MM-16472 Fix renderItem not returning anything (#2909)

This commit is contained in:
Harrison Healey 2019-06-21 11:29:03 -04:00 committed by Miguel Alatzar
parent 3f79a2e07f
commit 06b3273fd8

View file

@ -243,7 +243,7 @@ export default class ChannelMembers extends PureComponent {
enabled: props.id !== this.props.currentUserId,
};
this.renderItem(props, selectProps);
return this.renderItem(props, selectProps);
}
renderUnselectableItem = (props) => {
@ -252,7 +252,7 @@ export default class ChannelMembers extends PureComponent {
enabled: false,
};
this.renderItem(props, selectProps);
return this.renderItem(props, selectProps);
};
renderLoading = () => {