Conform to new react and typescript eslint rules

This commit is contained in:
Michael Telatynski 2021-07-19 22:43:11 +01:00
parent b6feaf74bc
commit ce78cdf4ad
266 changed files with 1992 additions and 2000 deletions

View file

@ -124,9 +124,9 @@ export default class VoiceRecordComposerTile extends React.PureComponent<IProps,
Modal.createTrackedDialog('Microphone Access Error', '', ErrorDialog, {
title: _t("Unable to access your microphone"),
description: <>
<p>{_t(
<p>{ _t(
"We were unable to access your microphone. Please check your browser settings and try again.",
)}</p>
) }</p>
</>,
});
};
@ -139,9 +139,9 @@ export default class VoiceRecordComposerTile extends React.PureComponent<IProps,
Modal.createTrackedDialog('No Microphone Error', '', ErrorDialog, {
title: _t("No microphone found"),
description: <>
<p>{_t(
<p>{ _t(
"We didn't find a microphone on your device. Please check your settings and try again.",
)}</p>
) }</p>
</>,
});
return;
@ -224,9 +224,9 @@ export default class VoiceRecordComposerTile extends React.PureComponent<IProps,
}
return (<>
{deleteButton}
{this.renderWaveformArea()}
{recordingInfo}
{ deleteButton }
{ this.renderWaveformArea() }
{ recordingInfo }
</>);
}
}