mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-16 21:24:59 +08:00
fix three lints
This commit is contained in:
parent
848b83015d
commit
9fe9534e01
@ -122,14 +122,14 @@ export class ModalManager {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public createDialog<T extends any[]>(
|
public createDialog<T extends any[]>(
|
||||||
Element: React.ComponentType, // eslint-disable-line @typescript-eslint/naming-convention
|
Element: React.ComponentType,
|
||||||
...rest: ParametersWithoutFirst<ModalManager["createDialogAsync"]>
|
...rest: ParametersWithoutFirst<ModalManager["createDialogAsync"]>
|
||||||
) {
|
) {
|
||||||
return this.createDialogAsync<T>(Promise.resolve(Element), ...rest);
|
return this.createDialogAsync<T>(Promise.resolve(Element), ...rest);
|
||||||
}
|
}
|
||||||
|
|
||||||
public appendDialog<T extends any[]>(
|
public appendDialog<T extends any[]>(
|
||||||
Element: React.ComponentType, // eslint-disable-line @typescript-eslint/naming-convention
|
Element: React.ComponentType,
|
||||||
...rest: ParametersWithoutFirst<ModalManager["appendDialogAsync"]>
|
...rest: ParametersWithoutFirst<ModalManager["appendDialogAsync"]>
|
||||||
) {
|
) {
|
||||||
return this.appendDialogAsync<T>(Promise.resolve(Element), ...rest);
|
return this.appendDialogAsync<T>(Promise.resolve(Element), ...rest);
|
||||||
|
@ -60,8 +60,8 @@ export default class AskInviteAnywayDialog extends React.Component<IProps> {
|
|||||||
contentId='mx_Dialog_content'
|
contentId='mx_Dialog_content'
|
||||||
>
|
>
|
||||||
<div id='mx_Dialog_content'>
|
<div id='mx_Dialog_content'>
|
||||||
{ /* eslint-disable-next-line */ }
|
<p>{ _t("Unable to find profiles for the Matrix IDs listed below - " +
|
||||||
<p>{_t("Unable to find profiles for the Matrix IDs listed below - would you like to invite them anyway?")}</p>
|
"would you like to invite them anyway?") }</p>
|
||||||
<ul>
|
<ul>
|
||||||
{ errorList }
|
{ errorList }
|
||||||
</ul>
|
</ul>
|
||||||
|
Loading…
Reference in New Issue
Block a user