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,5 +1,6 @@
import React, { Component } from 'react';
import { WithTranslation } from 'react-i18next';
import { connect as reduxConnect } from 'react-redux';
// @ts-expect-error
import { connect } from '../../../../../connection';
@@ -9,7 +10,6 @@ import { IConfig } from '../../../base/config/configType';
import { toJid } from '../../../base/connection/functions';
import { translate, translateToHTML } from '../../../base/i18n/functions';
import { JitsiConnectionErrors } from '../../../base/lib-jitsi-meet';
import { connect as reduxConnect } from '../../../base/redux/functions';
import Dialog from '../../../base/ui/components/web/Dialog';
import Input from '../../../base/ui/components/web/Input';
import {
@@ -26,7 +26,7 @@ interface IProps extends WithTranslation {
* {@link JitsiConference} That needs authentication - will hold a valid
* value in XMPP login + guest access mode.
*/
_conference: IJitsiConference;
_conference?: IJitsiConference;
/**
* The server hosts specified in the global config.
@@ -47,7 +47,7 @@ interface IProps extends WithTranslation {
* The progress in the floating range between 0 and 1 of the authenticating
* and upgrading the role of the local participant/user.
*/
_progress: number;
_progress?: number;
/**
* Redux store dispatch method.