From 4b5b0e92449660218ccad29b489d16ba88e9a6f4 Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Tue, 20 Jul 2021 09:27:12 +0100 Subject: [PATCH] delint --- .../structures/CompatibilityView.tsx | 16 ++++++++-------- src/async-components/structures/ErrorView.tsx | 4 ++-- src/components/views/auth/VectorAuthFooter.tsx | 4 ++-- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/src/async-components/structures/CompatibilityView.tsx b/src/async-components/structures/CompatibilityView.tsx index 7a781ab459..75cc8fea2e 100644 --- a/src/async-components/structures/CompatibilityView.tsx +++ b/src/async-components/structures/CompatibilityView.tsx @@ -71,7 +71,7 @@ const CompatibilityView: React.FC = ({ onAccept }) => { android = []; } - let mobileHeader =

{_t("Use %(brand)s on mobile", { brand })}

; + let mobileHeader =

{ _t("Use %(brand)s on mobile", { brand }) }

; if (!android.length && !ios) { mobileHeader = null; } @@ -102,11 +102,11 @@ const CompatibilityView: React.FC = ({ onAccept }) => { 'or Safari for the best experience.', {}, { - 'chromeLink': (sub) => {sub}, - 'firefoxLink': (sub) => {sub}, - 'safariLink': (sub) => {sub}, + 'chromeLink': (sub) => { sub }, + 'firefoxLink': (sub) => { sub }, + 'safariLink': (sub) => { sub }, }, - )} + ) }

{ _t( @@ -124,9 +124,9 @@ const CompatibilityView: React.FC = ({ onAccept }) => {

- {mobileHeader} - {ios} - {android} + { mobileHeader } + { ios } + { android }
diff --git a/src/async-components/structures/ErrorView.tsx b/src/async-components/structures/ErrorView.tsx index 195bb37f26..7bc97f708e 100644 --- a/src/async-components/structures/ErrorView.tsx +++ b/src/async-components/structures/ErrorView.tsx @@ -40,9 +40,9 @@ const ErrorView: React.FC = ({ title, messages }) => {

{ title }

- {messages && messages.map(msg =>

+ { messages && messages.map(msg =>

{ msg } -

)} +

) }
diff --git a/src/components/views/auth/VectorAuthFooter.tsx b/src/components/views/auth/VectorAuthFooter.tsx index 7d940cf049..7cb48e3745 100644 --- a/src/components/views/auth/VectorAuthFooter.tsx +++ b/src/components/views/auth/VectorAuthFooter.tsx @@ -35,14 +35,14 @@ const VectorAuthFooter = () => { for (const linkEntry of links) { authFooterLinks.push( - {linkEntry.text} + { linkEntry.text } , ); } return (
- {authFooterLinks} + { authFooterLinks } { _t('Powered by Matrix') }
);