Apply prettier formatting

This commit is contained in:
Michael Weimann 2022-12-12 12:24:14 +01:00
parent 1cac306093
commit 526645c791
No known key found for this signature in database
GPG key ID: 53F535A266BB9584
1576 changed files with 65385 additions and 62478 deletions

View file

@ -25,9 +25,9 @@ limitations under the License.
* });
*/
import React from 'react';
import React from "react";
import { _t } from '../../../languageHandler';
import { _t } from "../../../languageHandler";
import BaseDialog from "./BaseDialog";
interface IProps {
@ -60,16 +60,16 @@ export default class ErrorDialog extends React.Component<IProps, IState> {
<BaseDialog
className="mx_ErrorDialog"
onFinished={this.props.onFinished}
title={this.props.title || _t('Error')}
title={this.props.title || _t("Error")}
headerImage={this.props.headerImage}
contentId='mx_Dialog_content'
contentId="mx_Dialog_content"
>
<div className="mx_Dialog_content" id='mx_Dialog_content'>
{ this.props.description || _t('An error has occurred.') }
<div className="mx_Dialog_content" id="mx_Dialog_content">
{this.props.description || _t("An error has occurred.")}
</div>
<div className="mx_Dialog_buttons">
<button className="mx_Dialog_primary" onClick={this.onClick} autoFocus={this.props.focus}>
{ this.props.button || _t('OK') }
{this.props.button || _t("OK")}
</button>
</div>
</BaseDialog>