ref(redux) Remove connect wrapper (#13083)

This commit is contained in:
Robert Pintilii
2023-03-21 09:47:52 +02:00
committed by GitHub
parent 679711534a
commit 754f658489
270 changed files with 451 additions and 444 deletions

View File

@@ -1,10 +1,10 @@
// @flow
import { connect } from 'react-redux';
import type { Dispatch } from 'redux';
import { translate } from '../../../base/i18n';
import { IconPlay } from '../../../base/icons';
import { connect } from '../../../base/redux';
import {
AbstractButton,
type AbstractButtonProps
@@ -92,7 +92,7 @@ class SharedVideoButton extends AbstractButton<Props, *> {
* @private
* @returns {Props}
*/
function _mapStateToProps(state): Object {
function _mapStateToProps(state) {
const {
disabled: sharedVideoBtnDisabled,
status: sharedVideoStatus