fix(rn,breakout-rooms) fix not rendering display names

This commit is contained in:
Saúl Ibarra Corretgé 2021-12-10 13:18:38 +01:00 committed by Saúl Ibarra Corretgé
parent 1fa43ca4e7
commit c705dbaa2f
1 changed files with 1 additions and 1 deletions

View File

@ -65,7 +65,7 @@ export const CollapsibleRoom = ({ room }: Props) => {
horizontal = { false }
keyExtractor = { _keyExtractor }
// eslint-disable-next-line react/jsx-no-bind
renderItem = { item => <BreakoutRoomParticipantItem item = { item } /> }
renderItem = { ({ item: participant }) => <BreakoutRoomParticipantItem item = { participant } /> }
showsHorizontalScrollIndicator = { false }
windowSize = { 2 } />}
</View>