chore(lint) tame the (uppdated) linter

This commit is contained in:
Saúl Ibarra Corretgé
2021-11-04 22:10:43 +01:00
committed by Saúl Ibarra Corretgé
parent 0aba61d5c6
commit 162a67fe8b
385 changed files with 933 additions and 900 deletions

View File

@@ -1,6 +1,6 @@
// @flow
import React from 'react';
import React, { useCallback } from 'react';
import { isMobileBrowser } from '../../../base/environment/utils';
import { translate } from '../../../base/i18n';
@@ -78,15 +78,9 @@ function ReactionsMenuButton({
reactionsQueue,
t
}: Props) {
/**
* Toggles the reactions menu visibility.
*
* @returns {void}
*/
function toggleReactionsMenu() {
const toggleReactionsMenu = useCallback(() => {
dispatch(toggleReactionsMenuVisibility());
}
}, [ dispatch ]);
const raiseHandButton = (<ToolbarButton
accessibilityLabel = { t('toolbar.accessibilityLabel.raiseHand') }