mirror of
https://gitcode.com/GitHub_Trending/ji/jitsi-meet.git
synced 2026-05-19 05:38:20 +00:00
removes need for eslint-disable-next-line react/jsx-wrap-multilines and eslint-diable-line no extra-parens
This commit is contained in:
committed by
Lyubo Marinov
parent
9aed4df6d2
commit
1d99abc4a4
@@ -237,7 +237,7 @@ class StartLiveStreamDialog
|
||||
|
||||
switch (this.props._googleAPIState) {
|
||||
case GOOGLE_API_STATES.LOADED:
|
||||
googleContent = ( // eslint-disable-line no-extra-parens
|
||||
googleContent = (
|
||||
<GoogleSignInButton
|
||||
onClick = { this._onGoogleSignIn }
|
||||
text = { t('liveStreaming.signIn') } />
|
||||
@@ -247,7 +247,7 @@ class StartLiveStreamDialog
|
||||
break;
|
||||
|
||||
case GOOGLE_API_STATES.SIGNED_IN:
|
||||
googleContent = ( // eslint-disable-line no-extra-parens
|
||||
googleContent = (
|
||||
<BroadcastsDropdown
|
||||
broadcasts = { broadcasts }
|
||||
onBroadcastSelected = { this._onYouTubeBroadcastIDSelected }
|
||||
@@ -259,7 +259,7 @@ class StartLiveStreamDialog
|
||||
* that also accepts the anchor. This can be done using the Trans
|
||||
* component of react-i18next but I couldn't get it working...
|
||||
*/
|
||||
helpText = ( // eslint-disable-line no-extra-parens
|
||||
helpText = (
|
||||
<div>
|
||||
{ `${t('liveStreaming.chooseCTA',
|
||||
{ email: _googleProfileEmail })} ` }
|
||||
@@ -273,7 +273,7 @@ class StartLiveStreamDialog
|
||||
|
||||
case GOOGLE_API_STATES.NEEDS_LOADING:
|
||||
default:
|
||||
googleContent = ( // eslint-disable-line no-extra-parens
|
||||
googleContent = (
|
||||
<Spinner
|
||||
isCompleting = { false }
|
||||
size = 'medium' />
|
||||
@@ -283,7 +283,7 @@ class StartLiveStreamDialog
|
||||
}
|
||||
|
||||
if (this.state.errorType !== undefined) {
|
||||
googleContent = ( // eslint-disable-line no-extra-parens
|
||||
googleContent = (
|
||||
<GoogleSignInButton
|
||||
onClick = { this._onRequestGoogleSignIn }
|
||||
text = { t('liveStreaming.signIn') } />
|
||||
|
||||
Reference in New Issue
Block a user