From 1471aae8927c20d646cc2aa5ab0e20c1a7f2c0ca Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Tue, 7 Apr 2020 01:23:29 +0530 Subject: linter / simpler webextension pack --- src/webex/pages/add-auditor.tsx | 8 ++++---- src/webex/pages/popup.tsx | 11 ++++------- 2 files changed, 8 insertions(+), 11 deletions(-) (limited to 'src/webex/pages') diff --git a/src/webex/pages/add-auditor.tsx b/src/webex/pages/add-auditor.tsx index 4e3f8615c..fc7de920f 100644 --- a/src/webex/pages/add-auditor.tsx +++ b/src/webex/pages/add-auditor.tsx @@ -78,7 +78,7 @@ function ConfirmAuditor(props: ConfirmAuditorProps): JSX.Element { setAddDone(true); }; - const back = () => { + const back = (): void => { window.history.back(); }; @@ -86,12 +86,12 @@ function ConfirmAuditor(props: ConfirmAuditorProps): JSX.Element {

Do you want to let {props.auditorPub} audit the - currency "{props.currency}"? + currency "{props.currency}"?

{addDone ? (
Auditor was added! You can also{" "} - + view and edit {" "} auditors. @@ -113,7 +113,7 @@ function ConfirmAuditor(props: ConfirmAuditorProps): JSX.Element { ); } -export function makeAddAuditorPage() { +export function makeAddAuditorPage(): JSX.Element { const walletPageUrl = new URL(document.location.href); const url = walletPageUrl.searchParams.get("url"); if (!url) { diff --git a/src/webex/pages/popup.tsx b/src/webex/pages/popup.tsx index c2f050e2a..f62f64b73 100644 --- a/src/webex/pages/popup.tsx +++ b/src/webex/pages/popup.tsx @@ -734,21 +734,18 @@ function WalletDebug(props: any): JSX.Element { return (

Debug tools:

- - - - -
-- cgit v1.2.3