diff --git a/lang/main.json b/lang/main.json index a9e0cf6b6..67a9432f9 100644 --- a/lang/main.json +++ b/lang/main.json @@ -928,7 +928,6 @@ "angry": "Angry", "disgusted": "Disgusted", "fearful": "Fearful", - "hideFacialExpressions": "Hide facial expressions", "happy": "Happy", "hours": "{{count}}h", "minutes": "{{count}}m", diff --git a/react/features/speaker-stats/components/web/SpeakerStats.js b/react/features/speaker-stats/components/web/SpeakerStats.js index f5efbed1c..a52e40c05 100644 --- a/react/features/speaker-stats/components/web/SpeakerStats.js +++ b/react/features/speaker-stats/components/web/SpeakerStats.js @@ -127,10 +127,6 @@ class SpeakerStats extends Component { _onToggleFacialExpressions: () => void; /** - * Toggle the facial expressions grid from speaker stats. - * - * @returns {void} - * @protected */ _onToggleFacialExpressions() { this.props.dispatch(toggleFacialExpressions()); diff --git a/react/features/speaker-stats/components/web/ToggleFacialExpressionsButton.js b/react/features/speaker-stats/components/web/ToggleFacialExpressionsButton.js index 9ccb431a0..dd7287dbb 100644 --- a/react/features/speaker-stats/components/web/ToggleFacialExpressionsButton.js +++ b/react/features/speaker-stats/components/web/ToggleFacialExpressionsButton.js @@ -1,7 +1,6 @@ // @flow import { makeStyles } from '@material-ui/core/styles'; import React from 'react'; -import { useTranslation } from 'react-i18next'; import { Icon, @@ -33,7 +32,7 @@ const useStyles = makeStyles(theme => { }); /** - * The type of the React {@code Component} props of {@link ToggleFacialExpressionsButton}. + * The type of the React {@code Component} props of {@link SpeakerStatsSearch}. */ type Props = { @@ -50,13 +49,9 @@ type Props = { }; /** - * React component for toggling facial expressions grid. - * - * @returns {React$Element} */ export default function ToggleFacialExpressionsButton({ onClick, showFacialExpressions }: Props) { const classes = useStyles(); - const { t } = useTranslation(); const onClickCallback = React.useCallback(() => { onClick(); @@ -64,7 +59,7 @@ export default function ToggleFacialExpressionsButton({ onClick, showFacialExpre return (