diff --git a/react/features/speaker-stats/components/Count.js b/react/features/speaker-stats/components/Count.js index 19e4a6b62..73057be70 100644 --- a/react/features/speaker-stats/components/Count.js +++ b/react/features/speaker-stats/components/Count.js @@ -1,7 +1,6 @@ import PropTypes from 'prop-types'; import React, { Component } from 'react'; - /** * React component for displaying a count. For example a number of poops. * @@ -27,11 +26,11 @@ class Count extends Component { * @returns {ReactElement} */ render() { - const {count} = this.props; + const { count } = this.props; return (
- {count} + { count }
); } diff --git a/react/features/speaker-stats/components/SpeakerStats.js b/react/features/speaker-stats/components/SpeakerStats.js index a9fdae61a..bd0333d9b 100644 --- a/react/features/speaker-stats/components/SpeakerStats.js +++ b/react/features/speaker-stats/components/SpeakerStats.js @@ -146,11 +146,11 @@ class SpeakerStats extends Component<*, *> { + key = { userId } + poopCount = { poopCount } /> ); } diff --git a/react/features/speaker-stats/components/SpeakerStatsItem.js b/react/features/speaker-stats/components/SpeakerStatsItem.js index becb88fba..e1acf4640 100644 --- a/react/features/speaker-stats/components/SpeakerStatsItem.js +++ b/react/features/speaker-stats/components/SpeakerStatsItem.js @@ -26,18 +26,19 @@ class SpeakerStatsItem extends Component { */ dominantSpeakerTime: PropTypes.number, - poopCount: PropTypes.number, - heartCount: PropTypes.number, - /** * True if the participant is no longer in the meeting. */ hasLeft: PropTypes.bool, + heartCount: PropTypes.number, + /** * True if the participant is currently the dominant speaker. */ - isDominantSpeaker: PropTypes.bool + isDominantSpeaker: PropTypes.bool, + + poopCount: PropTypes.number }; /** diff --git a/react/features/speaker-stats/components/SpeakerStatsLabels.js b/react/features/speaker-stats/components/SpeakerStatsLabels.js index 170a6d70a..0375ad226 100644 --- a/react/features/speaker-stats/components/SpeakerStatsLabels.js +++ b/react/features/speaker-stats/components/SpeakerStatsLabels.js @@ -40,10 +40,10 @@ class SpeakerStatsLabels extends Component { { t('speakerStats.speakerTime') }
- { "💩"} + { '💩' }
- { "💖"} + { '💖' }
);