Fix eslint errors
This commit is contained in:
parent
8f1ff9cfc3
commit
75023b4224
|
@ -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 (
|
||||
<div>
|
||||
{count}
|
||||
{ count }
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
|
|
@ -146,11 +146,11 @@ class SpeakerStats extends Component<*, *> {
|
|||
<SpeakerStatsItem
|
||||
displayName = { displayName }
|
||||
dominantSpeakerTime = { dominantSpeakerTime }
|
||||
poopCount = { poopCount }
|
||||
heartCount = { heartCount }
|
||||
hasLeft = { hasLeft }
|
||||
heartCount = { heartCount }
|
||||
isDominantSpeaker = { isDominantSpeaker }
|
||||
key = { userId } />
|
||||
key = { userId }
|
||||
poopCount = { poopCount } />
|
||||
);
|
||||
}
|
||||
|
||||
|
|
|
@ -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
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
|
@ -40,10 +40,10 @@ class SpeakerStatsLabels extends Component {
|
|||
{ t('speakerStats.speakerTime') }
|
||||
</div>
|
||||
<div className = 'speaker-stats-item__poop'>
|
||||
{ "💩"}
|
||||
{ '💩' }
|
||||
</div>
|
||||
<div className = 'speaker-stats-item__heart'>
|
||||
{ "💖"}
|
||||
{ '💖' }
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue