From 9fe9534e01b0056ebcda7aca36f24b6b9d5433fc Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Tue, 20 Jul 2021 10:33:52 +0100 Subject: [PATCH] fix three lints --- src/Modal.tsx | 4 ++-- src/components/views/dialogs/AskInviteAnywayDialog.tsx | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Modal.tsx b/src/Modal.tsx index da4c8ae732..1e84078ddb 100644 --- a/src/Modal.tsx +++ b/src/Modal.tsx @@ -122,14 +122,14 @@ export class ModalManager { } public createDialog( - Element: React.ComponentType, // eslint-disable-line @typescript-eslint/naming-convention + Element: React.ComponentType, ...rest: ParametersWithoutFirst ) { return this.createDialogAsync(Promise.resolve(Element), ...rest); } public appendDialog( - Element: React.ComponentType, // eslint-disable-line @typescript-eslint/naming-convention + Element: React.ComponentType, ...rest: ParametersWithoutFirst ) { return this.appendDialogAsync(Promise.resolve(Element), ...rest); diff --git a/src/components/views/dialogs/AskInviteAnywayDialog.tsx b/src/components/views/dialogs/AskInviteAnywayDialog.tsx index 7445296378..3ae82f1026 100644 --- a/src/components/views/dialogs/AskInviteAnywayDialog.tsx +++ b/src/components/views/dialogs/AskInviteAnywayDialog.tsx @@ -60,8 +60,8 @@ export default class AskInviteAnywayDialog extends React.Component { contentId='mx_Dialog_content' >
- { /* eslint-disable-next-line */ } -

{_t("Unable to find profiles for the Matrix IDs listed below - would you like to invite them anyway?")}

+

{ _t("Unable to find profiles for the Matrix IDs listed below - " + + "would you like to invite them anyway?") }

    { errorList }