diff --git a/app/components/ConferenceDrawerParticipant.js b/app/components/ConferenceDrawerParticipant.js index 882da61..e58658d 100644 --- a/app/components/ConferenceDrawerParticipant.js +++ b/app/components/ConferenceDrawerParticipant.js @@ -1,36 +1,36 @@ import React from 'react'; import PropTypes from 'prop-types'; import UserIcon from './UserIcon'; import { List, Text } from 'react-native-paper'; const ConferenceDrawerParticipant = (props) => { let tag = null if (props.isLocal) { tag = 'Myself'; } let participant = props.participant; if (!participant) { return null; } return ( } right={props => tag ? {tag} : null} /> ) } ConferenceDrawerParticipant.propTypes = { participant: PropTypes.object.isRequired, isLocal: PropTypes.bool }; export default ConferenceDrawerParticipant;