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 React, { Component } from 'react';
import { connect } from 'react-redux';
import { reloadNow } from '../../../app/actions';
import { translate } from '../../../base/i18n';
import { connect } from '../../../base/redux';
/**
* The type of the React {@code Component} props of {@link ReloadButton}.
@@ -63,7 +63,7 @@ class ReloadButton extends Component<Props> {
* @private
* @returns {Object}
*/
function _mapDispatchToProps(dispatch: Function): Object {
function _mapDispatchToProps(dispatch: Function) {
return {
/**
* Dispatches the redux action to reload the page.