Vous ne pouvez pas sélectionner plus de 25 sujets
Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
| 123456789101112131415161718192021 |
- // @flow
-
- import { translate } from '../../../base/i18n';
- import { isLocalParticipantModerator } from '../../../base/participants';
- import { connect } from '../../../base/redux';
-
- import AbstractKickButton from '../AbstractKickButton';
-
- /**
- * Maps part of the Redux state to the props of this component.
- *
- * @param {Object} state - The Redux state.
- * @returns {Props}
- */
- function _mapStateToProps(state) {
- return {
- visible: isLocalParticipantModerator(state)
- };
- }
-
- export default translate(connect(_mapStateToProps)(AbstractKickButton));
|